title: Hide only one element
body: <p>I have 10 anchors, and i give the id <code>#first-project</code> to the first anchor and when its clicked i want that the html element with an id <code>#prev-project</code> be hide. With my code it works but the id <code>#prev-project</code> stays hided all the time, only if i click on for the first time on the second anchor it's ok. How can I rewrite this code?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $("#first-project").click(function () {
          $("#prev-project").css("display", "none");
      });
  &lt;/script&gt;
  </code></pre>