Check if a checkbox is checked or not in Jquery

Check if a checkbox or radio is checked or not in Jquery

 

$(".checkbox_box").click(function(){
      var isChecked = $(this).is(':checked'); 
     if(isChecked){
         console.log(isChecked);
      }
});

Leave a Reply

Your email address will not be published. Required fields are marked *