how to perform action on number of checkobox seleted 1

how to perform action on number of checkobox seleted

$('#home').change(function() {
   if ($(this).is(':checked')) {
      ... 
   } else {
      ...
   }
});

Here is what the above code is Doing:
1. When the checkbox is checked, the function will be called.
2. If the checkbox is checked, the function will be called.
3. If the checkbox is not checked, the function will be called.

Similar Posts