PLease Help with my nested tab postback Issue
more information:=
<div id="container-1" class="ui-tabs-panel">
<ul class="ui-tabs-nav">
<li><a href="#fragment-1"><span>TITLE</span></a></
li>
<li><a href="#fragment-2"><span>TITLE</span></a></
li>
</ul>
<div id="fragment-1" class="ui-tabs-panel">
<div id="fragment-2" class="ui-tabs-panel">
<div id="container-2">
<ul class="ui-tabs-nav">
<li><a
href="#fragment-1a"><span>TITLE</span></a></li>
<li><a
href="#fragment-1b"><span>TITLEIn</span></a></li>
<li><a
href="#fragment-1c"><span>TITLE</span></a></li>
</ul>
URBY wrote:
> no one ?
>
> On 1 Dec, 13:07, URBY <[email protected]> wrote:
> > hi im using jquery with asp.net when a postback happens it went back
> > to the root of the tabs, after looking for answers on the internet i
> > found this and it worked
> >
> > <asp:HiddenField runat="server" ID="currTab" />
> >
> > <script type="text/javascript"> // Tabs declared & checking value
> > from hidden object to get user location on tabs
> > $(function() {
> >
> > var currTab = $("#<%= currTab.ClientID %>");
> > $("#container-1 > ul").tabs();
> > $('#container-1 > ul').bind('tabsselect', function
> > (event, ui) {
> > currTab.val(ui.index + 1);
> > });
> > if (currTab.val() != '') {
> > $('#container-1 > ul').tabs().tabs('select',
> > currTab.val());
> > }
> > });
> > </script>
> >
> > The problem is now that im using nested tabs I have 2 Fragment
> > groups ie container -1 & -2 with there own fragment divs(1a 1b 1c
> > etc).
> > The above script doesn't cater for having nested tabs, i need help to
> > make the above script work with my nested tabs so that when u do a
> > postback on one of the fragments you get taken back to the users last
> > active tab.
> >
> > thanks
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en.