Home > Web Front-end > JS Tutorial > List of all events supported by JQuery's ON() method_jquery

List of all events supported by JQuery's ON() method_jquery

WBOY
Release: 2016-05-16 16:12:08
Original
1012 people have browsed it

Since jQuery added the on() and off() methods, I will no longer use other basic event-related operations such as $('xxx').click(function(){}); .

However, jQuery’s api does not say how many events can be bound to on. I accidentally discovered these while looking at the source code of jQuery 1.8.3 today. I am very happy~

The events supported in on are listed below and shared with everyone:

Copy code The code is as follows:

blur
focus
focusin
focusout
load
resize
scroll
unload
click
dblclick
mousedown
mouseup
mousemove
mouseover
mouseout
mouseenter
mouseleave
change
select
submit
keydown
keypress
keyup
error
contextmenu
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template