disable checkbox but still have click event code example Example: disable checkbox click event pointer-events:none