js/jquery 判断支持touchstart

 
if ('ontouchstart' in document.documentElement) {
      //...
}

 

posted @ 2014-03-26 09:40  淡然_  阅读(1333)  评论(0编辑  收藏  举报