jQuery 事件参考手册
显示触发了哪种类型的事件:
</>code$("p").bind('click dblclick mouseover mouseout',function(event){ $("div").html("Event: " + event.type);});
event.type
亲自试一试
type 属性描述触发哪种事件类型。
</>codeevent.type
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛