I want to check whether checkbox is checked or not using jquery. I want to check it on checkbox's onclick event.
<input type="checkbox" onclick="javascript:check_action();" id="Public(Web)" checked="checked" value="anyone" name="data[anyone]">
Is it possible? How?
Thanks.
javascript:
in event handler attributes. It's wrong and only works because it happens to be valid JavaScript syntax. – Tanika