title: How can I exclude $(this) from a jQuery selector?
body: <p>I have something like this:</p>
  
  <pre><code>&lt;div class="content"&gt;
      &lt;a href="#"&gt;A&lt;/a&gt;
  &lt;/div&gt;
  &lt;div class="content"&gt;
      &lt;a href="#"&gt;B&lt;/a&gt;
  &lt;/div&gt;
  &lt;div class="content"&gt;
      &lt;a href="#"&gt;C&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>When one of these links is clicked, I want to perform the .hide() function on the links that are not clicked. I understand jQuery has the :not selector, but I can't figure out how to use it in this case because <strong>it is necessary that I select the links using <code>$(".content a")</code></strong></p>
  
  <p>I want to do something like</p>
  
  <pre><code>$(".content a").click(function()
  {
      $(".content a:not(this)").hide("slow");
  });
  </code></pre>
  
  <p>but I can't figure out how to use the :not selector properly in this case.</p>