title: addClass to parent(LI)
body: <p>I have an element "A", when I click on it, I want to change parent element's (<code>LI</code>) class to <code>selected</code>, but nothing changes...</p>
  
  <pre><code>$(".filters-list li a").click(function () {
      $(".filters-list li").removeClass("selected");
      $(this).parent('li').addClass('selected'); // I also tried .parent().addClass
  });
  </code></pre>
  
  <p>Then I tried this code:</p>
  
  <pre><code>$(".filters-list li a").click(function () {
      $(".filters-list li").removeClass("selected");
      $(this).parent().get(0).addClass('selected'); // IE reports something like this: Object doesn't support addClass...
  });
  </code></pre>
  
  <p>When I tried to define <code>LI</code> with this code, it just reported me <code>[Object HTMLLIElement]</code>:</p>
  
  <pre><code>alert($(this).parent().get(0));
  </code></pre>
  
  <p>What I'm doing wrong?</p>