I\'m working on a mobile web site that has to work on a variety of devices. The one\'s giving me a headache at the moment are BlackBerry.
We need to support both key
You could try something like this:
var clickEventType=((document.ontouchstart!==null)?'click':'touchstart'); $("#mylink").bind(clickEventType, myClickHandler);