Techniques for solving the problem that the Chrome browser does not support the onmouseleave event_javascript techniques
WBOY
Release: 2016-05-16 17:32:57
Original
1093 people have browsed it
I haven’t tested chrome before. There wasn’t much going on today, so I tested it and found that the onmouseleave event added to the div had no effect in chrome;
Later I found that the solution was implemented using jquery For example
Write onmouseleave='$(this).slideUp();' Chrome cannot be used in the div. When it is ready, modify $("#aaa").mouseleave(function click() { $(this).slideUp(); }); and it will be ok.
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