#2621 closed bug (fixed)
Unable to determine the currently selected tab
Reported by: | alflow | Owned by: | klaus |
---|---|---|---|
Priority: | major | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.2.3 |
Keywords: | selected tabs | Cc: | |
Blocked by: | Blocking: |
Description
Below is the example code to get the currently selected tab.
var $tabs = $('#example').tabs(); var selected = $tabs.data('selected.tabs');
Selected is undefined.
How do I find out the currently selected tab, and more importantly, the index number of the currently selected tab?
Change History (4)
comment:1 Changed 15 years ago by
Owner: | changed from paul to klaus |
---|
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 14 years ago by
Milestone: | → 1.5 |
---|
Note: See
TracTickets for help on using
tickets.
That code works fine for me, although the demo was flawed, fixed in r5190