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
-~----------~----~----~----~------~----~------~--~---