The jquery of hide method hides the specified element instance

  • 2020-03-27 00:07:57
  • OfStack


<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></p>
<p><script language="javascript" type="text/javascript" src="jquery-1.7.2.js"></script>
<script language="javascript" type="text/javascript"></p>
<p>$(document).ready(function(){
$("button").click(function(){
$("p").hide();
});
});</p>
<p></script></p>
<p></head></p>
<p><body></p>
<p> Welcome to jquery The world! </p>
<p>jquery Learning is easy! </p>
<p>jquery The effect is amazing! </p>
<p><button type="button"> click </button></p>
<p></body><br />
</html> 

Related articles: