Question : Java Script - Toggle a checkbox by clicking on an image

Hi Experts,

I have got the following image and check box. I want - on client side- if the user clicks on the image to toggle the check box.
Please find below my code:
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:


...



            

Answer : Java Script - Toggle a checkbox by clicking on an image

and

obj.checked = !obj.checked;

within the routine
Random Solutions  
 
programming4us programming4us