Using variable in an if / else statement
<p>I am creating a variable that is equal to the text of a <code>&lt;a&gt;</code> that has been clicked on, and then use the variable in an if / else statement but cant get it to work.  I know the variable is right, and I know the function works because I can replace it with a "whatever.html" and it work.  However I cant get the variable to work in its place:</p>

<pre><code>   $(".themenu a").click(function(){
          var stuff = $(this);
          if (stuff == "Home"){
                 $.get("main.html", function(data){
                 $(".content").append(data);
          }, "html");
   }
</code></pre>
