1 Star 0 Fork 0

yuaolin/jquery-development

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
jQuery的时间绑定.html 588 Bytes
Copy Edit Raw Blame History
yuaolin authored 2024-01-09 19:23 . 19.23
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div class="button">第一个点击事件</div>
<div class="buttontwo">第二个点击事件</div>
<script src="./js/jquery-3.7.1.min.js"></script>
<script>
$(".button").click(function () {
alert('第一个点击事件')
})
$(".buttontwo").on("click",function () {
alert('第二个点击事件')
})
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yu-aolin/jquery-development.git
git@gitee.com:yu-aolin/jquery-development.git
yu-aolin
jquery-development
jquery-development
master

Search