I\'ve written a jQuery plug-in that\'s for use on both desktop and mobile devices. I wondered if there is a way with JavaScript to detect if the device has touch screen capa
I use:
if(jQuery.support.touch){ alert('Touch enabled'); }
in jQuery mobile 1.0.1