title: jQuery How to add class to <li> or <a> and keep it on the next page load or refresh?
body: <p>I have <code>&lt;li&gt;</code> elements, containing <code>&lt;a&gt;</code> elements. When the user clicks on the <code>&lt;a&gt;</code>, it sets class 'active' to the <code>&lt;a&gt;</code> and loads the new link. But when the new link is loaded, the class 'active' disappears. How to make that when the new page comes up still to have 'active' class on the same <code>&lt;a&gt;</code>?</p>
  
  <p>Thanks</p>