Click to See Complete Forum and Search --> : Firing event within loop


hazee
04-25-2008, 06:12 AM
have a look at code:


do while rs.EOF=false
%>

<table width="200" border="1">
<tr>
<td><%=rs.fields(0)%></td>
</tr>
<tr>
<td><%=rs.fields(1)%></td>
</tr>
<tr>
<td><input type="checkbox" name="asd">Select to Print</td>
</tr>
</table>

<%rs.movenext
loop%>



if user clicks on any checkbox created through loop, should change the background color or anyhthing else of the corresponding table??

any help is appreciated.