abstract:<!DOCTYPE html><html><head> <title>jquery的基础语法</title> <script type="text/javascript" src="jquery-3.3.1.min.js"></script></head><
<!DOCTYPE html>
<html>
<head>
<title>jquery的基础语法</title>
<script type="text/javascript" src="jquery-3.3.1.min.js"></script>
</head>
<body>
<script type="text/javascript">
//$(选择器).action
$(document).ready(function(){
// $str = "我是一个声明变量"
// alert($str);
$("div").hide()
$("button").click(function(){
$("div").show()
})
})
</script>
<div style="width: 100px;height: 100px;background:pink"></div>
<button>点击</button>
</body>
</html>
Correcting teacher:韦小宝Correction time:2019-02-20 09:07:46
Teacher's summary:jQuery中要把基础的选择器以及常用的函数方法掌握清楚了其他的都不难