jquery not function miss element
<p>I use a tool-tip to display error message on the page, I need it to be closed when I click elsewhere within the view. I use the below codes to control this action:</p>

<pre><code>$(':not(.qtip)').click(function(){
   $('.qtip').hide();
});
</code></pre>

<p>The ".qtip" is used for marking the tool-tip area. The tool-tip itself creates a new one when it comes out, what happened here is when I click on the tool-tip, it disappears.</p>

<p>But when I use a smaller scale of the selector instead of the whole body, it works fine, which is a little weird, for example:</p>

<pre><code>$("#id").not('.qtip').click(function (){
    $('.qtip').hide();
});
</code></pre>
