onclick on disabled input code example Example: disable onclick pointer-events: none; cursor: default;