Friday, May 8, 2015

Toggle Enabled State on Submit Button from Checkbox with jQuery

$("#myCheckBox").change(function () {
        $("input[type='submit']").prop("disabled", !this.checked);        
    });

No comments:

Post a Comment