Highlighting Menu Using jQuery - Does Not Work on POST
<p>I'm having an issue regarding some jQuery I am using to highlight a menu item that has been selected by a user.</p>

<p>Here is my code (within the Site.Master):</p>

<pre><code>&lt;script type="text/javascript"&gt;
    $(function () {
        $('#horizontalmenu ul li a').live('click', function () {
            $('#horizontalmenu ul li').removeClass('current');
            $(this).closest('li').addClass('current');
        });
    });
&lt;/script&gt;
</code></pre>

<p>This works when I trace through with Firebug, but the class is changed and then the page reloads and I lose the class change.  What am I doing wrong here?</p>
