Wednesday, September 8, 2010

JQuery check if checkbox checked

The reason I am posting this is because I stuggeld to find this solution. I guess Google did not like my English of 'check checkbox checked'. Well here is the solution:

$('#checkbox1').is(':checked')


Ref: http://jquery-howto.blogspot.com/2008/12/how-to-check-if-checkbox-is-checked.html

No comments:

Followers