Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check whether a checkbox is checked in jQuery

if ($('#grepperRocks').is(':checked')) {
	// this checkbox is checked
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #checkbox #checked #jQuery
ADD COMMENT
Topic
Name
2+7 =