JS: Keeping user selection persistent across page reloads
<p>Lets say we have a side bar on a page. It has two tabs. When you click the unselected tab, the content below it in the sidebar instantly switches using jQuery. The old div is hidden, the new div is shown. Not a big deal. </p>

<p>Now that you've selected that div however, when you click to the next page, the history of that selection is lost, and you're back to the first default selected div.</p>

<p>How can I keep the action persistent?</p>
