Thanks! (and I feel stupid..., I bookmarked the documentation...) Note: It does not work when you do a load first. But with only the select it's perfect.
Kind regards, Oscar. On Feb 15, 1:08 pm, Klaus Hartl <[email protected]> wrote: > 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., 04:53, Oscar <[email protected]> wrote: > > > Hi, > > > 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 -~----------~----~----~----~------~----~------~--~---
