Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery on checkbox change

//jQuery listen for checkbox change
$("#myCheckBoxID").change(function() {
    if(this.checked) {
        //I am checked
    }else{
        //I'm not checked
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #checkbox #change
ADD COMMENT
Topic
Name
3+7 =