Home  >  Article  >  Web Front-end  >  What are the options belonging to mouse event method in jquery

What are the options belonging to mouse event method in jquery

藏色散人
藏色散人Original
2021-12-01 11:08:133390browse

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.

What are the options belonging to mouse event method in jquery

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!

Statement:
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