72
rated 0 times
[
79]
[
7]
/ answers: 1 / hits: 58918
/ 10 Years ago, tue, april 1, 2014, 12:00:00
Is there a way to disable and gray out the checkbox label as well once the checkbox becomes disabled using Bootstrap and Jquery?
<div class=checkbox>
<input id=accept name=accept type=checkbox value=True>
<label for=accept class=control-label>Incremental</label>
</div>
I am now using the bellow code to disable the checkbox:
$(#accept).prop(disabled, true);
More From » jquery