有没有一种可靠的方法来检测用户是否在jQuery中使用移动设备?类似于CSS @media属性的东西?如果浏览器在手持设备上,我想运行不同的脚本.
jQuery $.browser函数不是我想要的.
$.browser
javascript mobile jquery browser-detection
browser-detection ×1
javascript ×1
jquery ×1
mobile ×1