The documentation is your friend: http://docs.jquery.com/UI/Tabs#...select_a_tab_from_a_text_link_inste...
(Additional note: select does take care of loading automically.) --Klaus On 15 Feb., 12:08, Oscar <[email protected]> wrote: > Hi, > > Sorry if this message is posted twice but I posted this yesterday and > did not see > it yet. So, here it is again: > ----- > I've setup this:http://www.kwalinux.nl/tabs.html > > I want to activate tab 3 from outside the div "maintabs" by clicking > on a link ("show tab 3"). > > my code: > $(document).ready(function(){ > $("#maintabs").tabs(); > $("#clickme").click(function(event){ > $("#maintabs").tabs('load',2); > $("#maintabs").tabs('selected',2); > }); > > }); > > When I click on the link "show tab 3" i see tab 3 "loading" but > it doesn't get selected :( > > Somebody any idea how to get tab 3 also selected when I click the > link? > -- > > Kind regards, > Oscar > The Netherlands. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
