Jquery Icheck checkbox checked or not


Here is snippet to check if checkbox is checked or not in Jquery iCheck:

1
2
3
4
5
$(‘input[name="some-input-name"]’).on(‘ifToggled’, function (event) {
           if ($(this).is(‘:checked’)) {
               alert(‘checked’);
            }
        });

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.