Return to Snippet

Revision: 69997
at October 23, 2015 20:32 by envane21


Initial Code
$('.msisdn-submit').click(function () {
    if (!$('input#field_terms').is(':checked')) {
        alert('not checked');
        return false;
    }
});

Initial URL


Initial Description
Check if the checkbox is checked or not on button click

Initial Title
Check if checkbox is checked

Initial Tags
button

Initial Language
JavaScript