Check box is checked or not in jquery

by satheeshkumar 2012-09-16 11:10:00

Check weather check box is checked or not in jquery,

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

You must LOGIN to add comments