jQuery event.type 属性 返回 实例 返回哪种事件类型被触发: $("p").on("click dblclick mouseover mouseout",function(event){ $("div").html("Event: " + event.type); }); 亲自试一试 定义和用法 event.type 属性返回哪种事件类型被触发。 语法 event.type 参数 描述 event 必需。event 参数来自事件绑定函数。 收藏 0 点赞 0 0 条评论 取消回复
0 条评论