Please note that this example works only on iPhone, iPod touch and the simulator, not on any browser.

Tap on the buttons above

The first button triggers the standard onClick event with about 300ms delay.

The second button ovverrides the onClick event, the "click" is triggered on touchEnd thus eliminating the 300ms delay.

Read more about this on