jQuery event.type 属性
jQuery 教程
· 2019-03-11 07:57:52
实例
返回哪种事件类型被触发:
$("p").on("click dblclick mouseover mouseout",function(event){
$("div").html("Event: " + event.type);
});
$("div").html("Event: " + event.type);
});
定义和用法
event.type 属性返回哪种事件类型被触发。
语法
event.type
参数 | 描述 |
---|---|
event | 必需。event 参数来自事件绑定函数。 |
点击查看所有 jQuery 教程 文章: https://www.codercto.com/courses/l/35.html
Hatching Twitter
Nick Bilton / Portfolio Hardcover / 2013-11-5 / USD 28.95
The dramatic, unlikely story behind the founding of Twitter, by New York Times bestselling author and Vanity Fair special correspondent The San Francisco-based technology company Twitter has become......一起来看看 《Hatching Twitter》 这本书的介绍吧!