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');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #checkbox #checked
ADD COMMENT
Topic
Name
9+1 =