How to Preserve state of tabs in Jquery?
<p>I am using this script for the tabs in JQuery</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(function () {
var tabContainers = $('div.tabs &gt; div');

$('div.tabs ul.tabNavigation a').click(function () {
    tabContainers.hide().filter(this.hash).show();

    $('div.tabs ul.tabNavigation a').removeClass('selected');
    $(this).addClass('selected');

    return false;
}).filter(':first').click();
});
&lt;/script&gt;
</code></pre>

<p>but I really want to find out how to preserve the state of tabs using that code and without using any other plugin, any idea?</p>
