Jquery Click Function

by fido3993

HTML

<p>
If you click me, I will disappear
</p>

<p>
Click me too
</p>

JavaScript

$(document).ready(function(){
	$("p").click(function(){
  $(this).hide();
  });
});