title: Trying to add div classes however it is not working with my Javascript
body: <p>I am trying to use some JavaScript to allow for a user to click through a number of divs. I have uploaded the code to JSFiddle and you can view it here: <a href="http://jsfiddle.net/WjRK2/64/" rel="nofollow">http://jsfiddle.net/WjRK2/64/</a></p>
  
  <p>I believe the problem that I am running into is trying to switch the classes of the divs so that they work properly with the JavaScript:</p>
  
  <pre><code>$('#menu a').click(function (e) {
      $('#content div.level1').removeClass('makeVisible');
      divToMakeVisible = $(this).attr('href');
      $(divToMakeVisible).addClass('makeVisible');
      e.preventDefault();
  });
  </code></pre>
  
  <p>Any help is welcome because I feel like I am stuck in a rut and I am unable to figure out how to get out of it.</p>