get current state of check box jquery

jquery, jquery-ui, twitter-bootstrap

Solution

Try to use `.is()` function along with `:checked` selector to accomplish your task,

ckb = $("#ickb").is(':checked');

Problem

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); }); ```

Original source

Related problems