title: Highlight current url in menu ith jquery
body: <p>I have a menu but I want to highlight current link with jquery. </p>
  
  <pre><code>var loc = window.location;
     var lochref = $("#topNavigation li a").attr("href");
  
     if(lochref == loc){
         $('#topNavigation li a').addClass('currenthover');
     }
  </code></pre>
  
  <p>With above script, there is no any change in "a" class. How can I do this with jquery?
  Thanks in advance</p>