abstract:<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">&
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>jquery基礎(chǔ)語法</title>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
</head>
<body>
<script>
// $(選擇器).操作方法()
$(document).ready(function(){
//隱藏div
$('div').hide();
// 點(diǎn)擊按鈕顯示div
$('button').click(function(){
$('div').show();
})
})
</script>
<button>點(diǎn)擊顯示</button>
<div style="width: 150px;height: 100px;background: aquamarine;">
</div>
</body>
</html>
Correcting teacher:天蓬老師Correction time:2019-06-19 13:11:46
Teacher's summary:選擇器與執(zhí)行操作是jQ中的招牌動(dòng)作....