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