Where I can find a complete list of all jQuery supported events (like click, mouseup etc) with some explanations when they are triggered? I am looking for those that can be binded:

$('#foo').bind('click', handler);

For example I just found out by accident that there is paste event but I can't find any references to it anywhere in their docs. What else is there?

推荐答案

一份不详尽的 list 是http://api.jquery.com/category/events/份.通过.bind().live()支持更多的DOM事件.这些函数可以将处理程序分配给任何标准DOM事件,其中大多数事件与http://www.quirksmode.org/dom/events/处的兼容性表一起列出

The .bind() method is the primary means of attaching behavior to a document. All JavaScript event types, such as focus, mouseover, and resize, are allowed for eventType.


As of jQuery 1.7, you should use .on() in place of .live() and .bind().

Jquery相关问答推荐

在shiny 的datatable列中启用智能搜索

将选定2个AJAX结果显示到模板中

javascript 捕获浏览器快捷方式 (ctrl+t/n/w)

document.querySelector 一个元素中的多个数据属性

如何在 jQuery 中获取浏览器滚动位置?

jQuery:获取所选单选按钮的父 tr

如何在 Slick 轮播项目之间添加空格

如何使用 jQuery 清空输入值?

用 jQuery 模拟按键

如何禁用在div内单击

JSON 到字符串变量转储

jQuery淡出不显示无?

jquery-ui datepicker更改z-index

如何在我的 WordPress 插件中包含 CSS 和 jQuery?

捕获在页面任意位置按下的 Enter 键

覆盖 twitter bootstrap Textbox Glow and Shadows

如何使用 JQuery 获取 GET 和 POST 变量?

由于滚动,响应表内的 bootstrap 按钮下拉菜单不可见

上传文件前验证文件扩展名

如何使用 JQuery 删除onclick?