A brief discussion on jQuery hover(over, out) event function

高洛峰
Release: 2017-01-04 14:11:54
Original
1455 people have browsed it

hover(over, out) event function

When the mouse moves over a matching element, the specified first function will be triggered

When the mouse moves out of this element, the specified function will be triggered The second function

over(function): the function triggered when the mouse moves over the element

out(function): the function triggered when the mouse moves out of the element

 
Copy after login

Get< ;a href="/">This element

$(".main-nav").find('a[href="/"]');
Copy after login

The above article briefly discussing the jQuery hover(over, out) event function is all the content shared by the editor. I hope it can To give you a reference, I also hope that everyone will support the PHP Chinese website.

For more articles related to the jQuery hover(over, out) event function, please pay attention to the PHP Chinese website!


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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!