jQuery .click function not working
<p>I have a snippet of HTML that when a link is clicked, the div content becomes the linked div content.  The first function works fine.  It is the second click on #hidelink that jQuery doesn't seem to respond.  What am I missing here?</p>

<pre><code>&lt;div id="right"&gt;
    &lt;div id='titletext'&gt;&lt;p&gt;||||||||||||||&lt;/p&gt;&lt;/div&gt;
    &lt;div id='presentation'&gt;&lt;/div&gt;

    &lt;div class='hidethisdiv'&gt;
        &lt;div id ="years"&gt;
            &lt;h4&gt;&lt;a id='resourceslink' href='#resources'&gt;2010 Presentations&lt;/a&gt;&lt;/h4&gt;
        &lt;/div&gt;
        &lt;div id='resources'&gt;    
            &lt;h4&gt;&lt;a id='resourceslink' href='#resources'&gt;2010 Presentations&lt;/a&gt;&lt;/h4&gt;
            &lt;p&gt;&lt;a id='hidelink' href='#years'&gt;&amp;laquo;--back&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;script type="text/javascript"&gt;// &lt;![CDATA[
  $('#mainmenu').fadeIn(2000, function() {
    // Animation complete.
  });

$('#presentation').html($('#years').html());

$( function() {
  $("#resourceslink").click(
    function () {
    $('#presentation').html($('#resources').html());
    }
   );

  $("#hidelink").click(
  function (){
    $('#presentation').html($('#years').html());
  }
  );
  //just add more divs like resources and a hidelink for new conferences
});
&lt;/script&gt;
</code></pre>
