Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery in checkbox checked

// Check a checkbox
$(selector).prop('checked', true);
// Un-check a checkbox
$(selector).prop('checked', false);
// Determine if checked or not
isChecked = $(selector).prop('checked');
 
PREVIOUS NEXT
Tagged: #jquery #checkbox #checked
ADD COMMENT
Topic
Name
1+5 =