javascript如何判断手机端的浏览器是否支持触碰功能 Posted on 2014-05-29 11:12 思思博士 阅读(...) 评论(...) 编辑 收藏1 if(document.hasOwnPRoperty("ontouchstart"))2 alert("浏览器支持触屏"); 3 else 4 alert("浏览器不支持触屏");5
javascript如何判断手机端的浏览器是否支持触碰功能 Posted on 2014-05-29 11:12 思思博士 阅读(...) 评论(...) 编辑 收藏1 if(document.hasOwnPRoperty("ontouchstart"))2 alert("浏览器支持触屏"); 3 else 4 alert("浏览器不支持触屏");5