Losing click information after page refresh
<p>I came up with the following for my NavBar. Well, after refreshing the current page using F5 I am losing my click information, everything according to my NavBar falls back to default, like u've never clicked on a link :/</p>

<pre><code>    &lt;script&gt;
    "use-strict";   
     $(document).ready(function()
    {
    /*
    $(".default").show();
    */

    $("#navSalon&gt;ul&gt;li a").click(function()
    {
        $("#navSalon&gt;ul&gt;li a").next().hide();
        $(this).next().show();
    });

    $("#navSalon&gt;ul&gt;li a").click(function()
    {
        $("#navSalon&gt;ul&gt;li a").children().attr("src", "dot1.png");
        $(this).children().attr("src", "dot0.png");
    });
});   
&lt;/script&gt;
</code></pre>
