How can i keep the selected tab selected even after postback
<p>I have some listed tab controls on my aspx form which is as below</p>

<pre><code> &lt;div id="tabs"&gt;
    &lt;ul&gt;

        &lt;li&gt;&lt;a href="#tabs-1"&gt;Tab A&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#tabs-2"&gt;Tab B&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#tabs-3"&gt;Tab C&lt;/a&gt;&lt;/li&gt;

    &lt;/ul&gt;
&lt;div id="tabs-1"&gt;&lt;/div&gt;
&lt;div id="tabs-2"&gt;&lt;asp:Button ID="someid" runat="server"/&gt;&lt;/div&gt;
&lt;div id="tabs-3"&gt;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>The navigation on mouse click on a tab is done by the following:</p>

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

    });
&lt;/script&gt;
</code></pre>

<p>Now, my question is, How can i maintain the selected tab as it is even after postback.
For Example, I select Tab B that contains a Button which causes a postback on click.
 After the postback occurs Tab A regians the foucs and i have to manually select Tab B for adjuvent operations.</p>

<p>Please help me to solve this problem.</p>
