Hi Guys
I have a table that contains a form. The table has hyperlinks to other html pages with a input box (checkbox) beside. What I am trying to do, is have a button at the end of the form that will print all the hyperlinks that have been selected using the checkboxes. Here is the code that is generated by my ASP page.
Here is look at the ASP code that I use to generate this pageCode:<form name='form2'> <table border = 0> <tr> <td bgcolor='#ffffcc'> <a href = '#' onclick = window.open('http://100.100.100.100/Reports/REPORTS_20.htm','javascript_1','height=600,width=700,resizable,scrollbars=yes')>SUMMARY_REPORTS_20010220.htm</a><BR></td> <td bgcolor = '#336699'> <input type='checkbox' name = 'REPORTS_20.htm' style='HEIGHT: 22px; WIDTH: 99px'></td> </tr> <tr> <td bgcolor='#ffffcc'> <a href = '#' onclick = window.open('http://100.100.100.100/Reports/REPORTS_21.htm','javascript_1','height=600,width=700,resizable,scrollbars=yes')>CROSS_CURRENCY_REPORTS_20010220.htm</a><BR> </td> <td bgcolor = '#336699'><input type='checkbox' name = 'REPORTS_21.htm' style='HEIGHT: 22px; WIDTH: 99px'></td> </tr> </table> </form>
Code:Response.write "<form name='form2'>" Response.write "<table border = 0>" Response.write "" For Each objFile In objFSO.GetFolder("D:\Web Server\wwwroot\generatedReports\").Files Response.Write "<tr><td bgcolor='#ffffcc'><a href = '#' onclick = window.open('http://100.100.100.100/Reports/" & objFile.name & "','javascript_1','height=600,width=700,resizable,scrollbars=yes')>" & objFile.name & "</a><BR></td>" Response.write "<td bgcolor = '#336699'><input type='checkbox' name = '" & objFile.name & "' style='HEIGHT: 22px; WIDTH: 99px'></td></tr>" Next Response.Write "</table>" Response.Write "</form>"
I would really appreciate any help that anyone may be able to offer.
Cheers
JK




Reply With Quote