$(document).ready(function(){ $("a").click(function () { $(this).hide();// return false; }); $("p").hide(); });
<p>This will hidden on the web page</p> <a href="#">Click Here to hide this anchor tag</a>