Thursday, 30 August 2012

How to handle checkbox check uncheck event with Jquery

Firstly you have to load all jquery file which is required  
 
$('#myform :checkbox').click(function() {


    if ($(this).is(':checked')) {
           
        //Do your work //here check box checked code 
    } else {
        // Do your work // here check box unchecked code 
    }
});

No comments:

Post a Comment