Select list item <li> of an ordered list using jquery?
<p>I want to be able to change the html of the <strong>LI</strong> tag using some kind of jquery code. </p>

<p>The idea is to change the class of the anchor tag from "btnsignin" to another class called "btnsignout" once the user has logged in. </p>

<p>I will use this code inside the ajaxForm success callback function to change the class of anchor tag.</p>

<p>Here is my html:</p>

<pre><code>&lt;div id="top-nav"&gt;
&lt;ul class="top-nav"&gt;
    &lt;li&gt;&lt;a id="login-link" class="btnsignin" title="Login"&gt;Admin Zone&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</code></pre>

<p>What should my code look like? Please help, thank you.</p>
