Check weather check box is checked or not in jquery

by satheeshkumar 2012-08-17 22:34:39

Check weather check box is checked or not in jquery,

if($('#checkbox id').attr('checked')) {
alert("checked");
} else {
alert("not checked");
}
856
like
0
dislike
0
mail
flag

You must LOGIN to add comments