#5586 closed bug (notabug)
Basic tab setup - selected tab index bug
Reported by: | simshaun | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.core | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Take a look at my example and click the different tabs.
http://www.simshaun.com/jquery-ui-1.8.1/tabs.html
The .tabs('option','selected') feature is very buggy.
Change History (4)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
I'm sorry. This can be closed, as I just realized why this is occurring.
The custom select event is fired before the default select event takes place (expected behavior), so trying to get the "newly" selected index must be done using the ui object thats passed to the select function.
comment:3 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Edit: I just noticed, it seems as if it returns the index of the previously selected tab.