title: $('html').click()... anywhere except one element
body: <p>I have a dynamically  appended menu which I am removing if you click anywhere on page including the menu links itself. What I am trying to achieve is to prevent the remove if you click a specific link and that simply  does not work for me. Unfortunately I cant use the delegate method, if that would help, due to old version on jquery used on client side, no option to update it.</p>
  <p>So maybe you could suggest if there is any way to do so. Here is a quick example of mine.</p>
  <pre><code>&lt;script&gt;
      $(function() {
          $('.menu').append('&lt;a href=&quot;&quot; class=&quot;solid&quot;&gt;Option&lt;/a&gt; &lt;a href=&quot;&quot;&gt;Option&lt;/a&gt; &lt;a href=&quot;&quot;&gt;Option&lt;/a&gt;');           
                  
          $('.menu a').live('click',function(){
              return false;
          });         
  
          $('a.solid').live('click',function(){
              return false;
          });
  
          $('html').click(function() {                    
              $('.menu').remove();                
          });             
                              
          });
  &lt;/script&gt;
  </code></pre>
  <p>and the container</p>
  <pre><code>&lt;div class=&quot;menu&quot;&gt;&lt;/div&gt;
  </code></pre>