Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#checkbox').unbind();
- $('#checkbox').attr('disabled', true);
- <input type="checkbox" disabled="disabled" />
- $('#thecheckbox').unbind('click'); // removes all 'click' event handlers from the element
- $('.selectorToCheckbox').bind('click mouseover', function (e) {
- e.preventDefault();
- });
Add Comment
Please, Sign In to add comment