When viewing a web site on a mobile device (iPad, Galaxy Tab) there’s always a lag when I click an element (regular link or anything else that is made clickable using javascript/jquery).
While reading online, I found out that the browser is using touchstart followed by touchend events, and afterwards it triggers the regular click event. Is there a way to have a more responsive tap and remove the click event that is delayed? Maybe by using javascript, or something else?
if you are writing a web page your self you can register a listener for touchstart and touchend and trigger the onclick code directly from on touch end without any delay.
If you don`t handle the event in touch move the browser will dispatch (with some lag) a click event to the element
Take a look at this description from google to create “fast buttons”: http://code.google.com/intl/de-DE/mobile/articles/fast_buttons.html