Home > Article > Web Front-end > What are the options belonging to mouse event method in jquery
The mouse event method in jquery is the mouseover() method, while onclick() and onmouseout() are mouse events in js, and blur() is a form event.
The operating environment of this article: windows7 system, jquery-2.1.4 version, DELL G3 computer
is a mouse event in jquery What are the options for the method?
The mouse event method in jquery is the mouseover() method.
The mouseover event occurs when the mouse pointer is over an element.
This event is most often used together with the mouseout event.
The mouseover() method triggers the mouseover event, or specifies the function to be run when the mouseover event occurs.
Note: Unlike the mouseenter event, the mouseover event will be triggered whether the mouse pointer passes through the selected element or its sub-elements. The mouseenter event is only fired when the mouse pointer passes over the selected element.
Note: onclick() and onmouseout() are mouse events in js, and blur() is a form event.
Recommended learning: "jquery video tutorial"
The above is the detailed content of What are the options belonging to mouse event method in jquery. For more information, please follow other related articles on the PHP Chinese website!