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.