Jquery To Hide() Function For Beginners?

Sabarimahesh
Posted by Sabarimahesh under jQuery category on | Points: 40 | Views : 1089
<html>
<head>
</head>
<body>
<p>HI</p>
<a href="#">Hide ME</a>
<p>Next</p>
<script>
$("p").hide();
$("a").click(function ( event ) {
event.preventDefault();
$(this).hide();
});
</script>

</body>
</html>

Comments or Responses

Login to post response