title: jQuery active parent li on click child li
body: <p>I'm trying to add active class to  parent <code>li</code> after clicking on link in child <code>li</code>. I have drop down menu, on my drop down menu HTML code is in following website:
   <a href="http://www.dawntravels.com/" rel="nofollow">http://www.dawntravels.com/</a></p>
  
  <p>I've tried this code without success:</p>
  
  <pre><code>&lt;script&gt;
      $(".arrow_carrot-2right").click(function (e) {
           e.preventDefault();
           $(this).closest('li').addClass('selected'); // I also tried .parent().addClass
      });
  &lt;/script&gt;
  </code></pre>