I am using Bootstrap iCheck plugin. How can i find out Whether a check box is checked or not by pressing a button using jquery
$(button).click(function(){
ckb = $("#ickb").(isChecked);
});
I am using Bootstrap iCheck plugin. How can i find out Whether a check box is checked or not by pressing a button using jquery
$(button).click(function(){
ckb = $("#ickb").(isChecked);
});
Try to use .is()
function along with :checked
selector to accomplish your task,
ckb = $("#ickb").is(':checked');