title: dynamicly add class active to a menu item with jquery
body: <p>How can I add "active" class to the "li" tag not the "a" tag.
  my code:</p>
  
  <pre><code>var url = document.URL;
  $('#example li a[href="'+url+'"]').addClass('active');
  </code></pre>