Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#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 paul

Owner: changed from paul to klaus

comment:2 Changed 15 years ago by klaus

Resolution: fixed
Status: newclosed

That code works fine for me, although the demo was flawed, fixed in r5190

comment:3 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:4 Changed 14 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.