/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// First way $('#checkBox').attr('checked'); // Second way $('#edit-checkbox-id').is(':checked'); // Third way $("input[@type=checkbox][@checked]").each( function() { // Insert code here } ); Returns true or false.