<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>jquert</title> <script type="text/javascript" src="D:/链接/jquery.html/jquery-3.3.1.js"></script> </head> <body> <script type="text/javascript"> $(document).ready(function(){ $("div").hide() $("button").click(function(){ $("div").show() }) }) </script> <div style="width: 100px;height: 100px;background: pink;"></div> <button>电击</button> </body> </html>