What's the best way to detect a 'touch screen' device using JavaScript?
<p>I've written a jQuery plug-in that's for use on all browsers and mobile devices and I wondered if there was a way with JavaScript to detect if the device has touch screen capability. I'm using the jquery-mobile.js to detect the touch screen events and it works on iOS, Android etc but I'd like to be write conditional statements based on whether it has a touch screen.</p>

<p>Is that possible?</p>

<p>Many thanks</p>
