Why Is Click Event Triggered On Return?
In the jQuery API it states The click event is only triggered after this exact series of events: The mouse button is depressed while the pointer is inside the element. The
Solution 1:
The jQuery API documentation is misleading. The process it describes is the only way to trigger the click
event with the mouse or other pointer device. The W3C recommends that browsers trigger the onclick event when the element is in focus and certain keyboard inputs happen. The reason for this recommendation is increased accessibility.
Post a Comment for "Why Is Click Event Triggered On Return?"