Is there a jquery plugin or custom tag to add simple enable-button-on-checked-box? I'm using Twitter Bootstrap 3 and I'd like to avoid:
- writing hacky Javascript in my project
- reinvening the wheel.
I have a typical use-case of disabling the submit button until the user accepts the privacy terms by checking the checkbox input:
<div class="form-group agreement_checkbox check_box">
<label for="contact-sbcr-agreement" class="checkbox-inline">
<p>
<input id="contact-sbcr-agreement" class="checkbox-custom" type="checkbox" name="Privacy_Policy-Agreement" value="Got acknowledged and Agreed" data-constraints='@Required(message="You must agree with Privacy Policy to proceed.")'><span>Check here to indicate that you have read and agree to the terms of <a target="_blank" href="privacy.html">Privacy Policy</a>.</span>
</p>
</label>
</div>
<div class="text-center text-sm-left offset-top-20">
<button class="btn btn-primary" type="submit">Send</button>
</div>