Note: Most probably this will be a double question, but since I haven\'t found a clear answer, I\'m asking it anyway.
In ASP.NET I\'d like to add some JavaScript to
First of all the asp check box control doesn't take onclick as a valid attribute.
So you can do two things:
1- If you don't need the value server-side, you can just put a normal check box instead of the asp check box.
2- If you need the value server side, add the runat="server" attribute and place and ID on your check box so you can reference it in your code.