bootstrap-checkbox icon indicating copy to clipboard operation
bootstrap-checkbox copied to clipboard

How to reset the checkbox

Open lic005 opened this issue 7 years ago • 0 comments

I need to have a reset function to uncheck the bootstrap checkbox check event. If my reset looks like this: var welChild = $('.checkbox-child').removeClass("checked"); var welParent = $('#checkbox-parent').removeClass("checked"); // remove the icon-ok Glyphicons from bootstrap checkbox $('.bootstrap-checkbox i').remove();

After the reset, the user has to double-click the checkbox which was reset from checked to unchecked in order to have it checked again. Any idea how to do the reset correctly? Thanks.

lic005 avatar Sep 21 '18 19:09 lic005