abstract:<!DOCTYPE html> <html> <head> <title></title> <script type="text/javascript" src="jquery.min.js"></script> </head>
<!DOCTYPE html> <html> <head> <title></title> <script type="text/javascript" src="jquery.min.js"></script> </head> <body> <script type="text/javascript"> $(document).ready(function(){ // $str = '我是一个声明变量'; // alert($str); $('div').hide(); $('button').click(function(){ $('div').show(); }); }) </script> <div style="width: 200px; height: 200px; background: pink"></div> <button>点击显示</button><button>点击隐藏</button> </body> </html>
Correcting teacher:查无此人Correction time:2019-05-10 13:40:06
Teacher's summary:完成的不错。jq比js简单很多,要多练习,以后常规操作就可以用jq了。继续加油