jQuery hide div function
<p>Is there any function for hiding 'DIV's or other html elements on right click, some tutorial, script, simple code javascript or jquery. Example: when is click on link or <p> tag or 'li' or 'Ul' or 'a' with right click to hide this element... How to do that?</p>

<p><strong>UPDATE:</strong> Yes, all your solutions is OK but please view this code and why doesn' work:</p>

<pre><code>&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"&gt;&lt;/script&gt;
&lt;script&gt;
$(document).on("mousedown", "div, img, span, a", function () { 
    if (event.which === 3)
       $(this).hide();
});
&lt;/script&gt;

&lt;?php

$url = 'http://www.kupime.com/';

$data = file_get_contents($url);

$data = '&lt;head&gt;&lt;base href='.$url.' target="_blank" /&gt;&lt;/head&gt;'.$data;




echo $data;


?&gt;
</code></pre>

<p>And when I click nothing happend. WHY?</p>
