jq之mouseenter
生活随笔
收集整理的這篇文章主要介紹了
jq之mouseenter
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><title>jq之demo</title><!--線上jq庫--><script src="https://code.jquery.com/jquery-3.4.1.min.js"></script><script>$(document).ready(function(){/*鼠標經過*/$("#test").mouseenter(function(){/*彈出1*/alert(1);});});</script>
</head>
<body>
<h2>這是標題</h2>
<p>喔喔</p>
<p>我</p>
<p id="test">我2</p>
</body>
</html>
總結
以上是生活随笔為你收集整理的jq之mouseenter的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Python 匿名函数 lambda -
- 下一篇: BugkuCTF-WEB题程序员本地网站