tap事件的绑定方法

你是不是没有加入jquery mobile这个,tap是基于这个插件才能有效果的,单独的jquery没有tap事件!请通过使用 on() 方法来绑定事件!

$("p").on("tap",function(){ $(this).hide(); });

 

posted @ 2015-01-21 11:23  Shimily  阅读(720)  评论(0编辑  收藏  举报