Bug Tracker

Ticket #2621 (closed bug: fixed)

Opened 9 months ago

Last modified 9 months ago

Unable to determine the currently selected tab

Reported by: alflow Assigned to: klaus
Type: bug Priority: major
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords: selected tabs
Cc: Needs: Review

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

Change History

Changed 9 months ago by paul

  • owner changed from paul to klaus

Changed 9 months ago by klaus

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.