Hide element
Description
The following code shows how to hide element.
Example
<html>
<head>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {<!--from ww w.ja v a2 s . c om-->
$("p").click(function() {
$(this).hide();
return true;
});
});
</script>
</head>
<body>
<p>Hello java2s.com</p>
</body>
</html>