Hi,
I want to check or uncheck a number of checkboxes by clicking an image.
My html code is given below:
[HTML]
<TABLE>
<TR>
<TD>
<div id = "checkdiv" >
<img src = "/images/check.jpg" />
</div>
</TD>
</TR>
<TR>
<TD>
<input type = "checkbox" name = "del">
</TD>
</TR>
<TR>
<TD>
<input type = "checkbox" name = "del">
</TD>
</TR>
</TABLE>
[/HTML]
Now if i click image or div all the checkboxes should be checked and again if i click that image or div all the checkboxes should be unchecked.