Tried that too! There seems to be a problem with the select method (any way you use it). If I select the tab I want when the tabs are created, there is no problem. However, if I try and use one of the select methods, it does not act correctly at all.
thanx, Neal On Mar 17, 10:50 am, "Richard D. Worth" <[email protected]> wrote: > In addition to the selected option, there is a select method: > > $("#opportunityTabs").tabs("select", 1); > > http://docs.jquery.com/UI/Tabs#method-select > > - Richard > > On Tue, Mar 17, 2009 at 12:18 PM, nsorochan <[email protected]> wrote: > > > Doing this, makes the tab load, however, it does not make it selected. > > > $("#opportunityTabs").tabs('option', 'selected', 1); > > > That is the line of code I am using.. > > > On Mar 16, 9:38 am, Fousheezy <[email protected]> wrote: > > > A simple glance at the jquery ui documentationhttp:// > > docs.jquery.com/UI/API/1.7/Tabs#options > > > shows that you can set "selected" in the options of your tabs. The > > > value of selected should be the index of the tab you want, starting > > > with 0 as the first. > > > > On Mar 16, 4:27 am, "[email protected]" > > > > <[email protected]> wrote: > > > > Hi guys, > > > > > I am trying to using jQuery, so far everything goes well, but my > > > > question is : > > > > How to set particular tab to be selected after page loaded? > > > > thx! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
