jQuery click outside tag
<p>I have html, for example</p>

<pre><code>&lt;body&gt;&lt;div id="main"&gt;&lt;p&gt;some text&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;
</code></pre>

<p>How to make on jquery when you click outside #main, but inside tag body some action?</p>

<pre><code>$(":not(#main)").click({..});
</code></pre>

<p>don't working</p>
