Site icon Sibeesh Passion

Check Whether a check box is checked or not in JQuery

Check Whether a check box is checked or not in JQuery
[js]
$("#mapEnableLegend").prop(‘checked’)
[/js]
Here mapEnableLegend is my check box, the above code will return true, if that is checked, or false.

Exit mobile version