Side navigation
#2621 closed bug (fixed)
Opened March 31, 2008 08:46AM UTC
Closed April 04, 2008 06:26AM UTC
Unable to determine the currently selected tab
Reported by: | alflow | Owned by: | klaus |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | ui | 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?