你是不是没有加入jquery mobile这个,tap是基于这个插件才能有效果的,单独的jquery没有tap事件!请通过使用 on() 方法来绑定事件!
$("p").on("tap",function(){ $(this).hide(); });