Tech Curry
Friday, January 21, 2011
Jquery: check if checkbox is checked
In Jquery it is very easy to find if a checkbox is checked or not.
Example:
if($('#mycheckbox').is(':checked')){
//do something
}else{
//do otherwise
}
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment