Skip to main content

Bug Tracker

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?

Attachments (0)
Change History (2)

Changed April 01, 2008 06:46PM UTC by paul comment:1

owner: paulklaus

Changed April 04, 2008 06:26AM UTC by klaus comment:2

resolution: → fixed
status: newclosed

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