This blog features pure JavaScript code. You don't need to use libraries to do stuff in JavaScript.
$("#myCheckBox").change(function () { $("input[type='submit']").prop("disabled", !this.checked); });
No comments:
Post a Comment