71
rated 0 times
[
76]
[
5]
/ answers: 1 / hits: 49581
/ 13 Years ago, tue, june 7, 2011, 12:00:00
is there any nice and clean method or trick to find out if the user is on a touch-device or not?
I know there is stuff like
var isiPad = navigator.userAgent.match(/iPad/i) != null;
but I simply wonder if there is a trick to generally determine if the user is on Touch device?
Because there are a lot more touch devices and tablets out there then just iPads.
thank you.
More From » jquery