Ticket #4960 (closed bug: fixed)

Opened 6 years ago

Last modified 6 months ago

Tabs: wrong selected tab index

Reported by: ethan Owned by:
Priority: minor Milestone: 1.8
Component: ui.tabs Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:


When first tab added tabs('option', 'select') still return -1 which should be 0

here is a demo  http://jsbin.com/uyigi

Change History

comment:1 Changed 6 years ago by joern.zaefferer

  • Milestone changed from TBD to 1.8

comment:2 Changed 6 years ago by rdworth

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r3572

comment:3 Changed 6 months ago by abhisheker141

I am still not getting how to select first tab with index 0 when all the tabs are created dynamically this line of code is not working "$('.selector').tabs('option', 'active', 0);";

comment:4 Changed 6 months ago by scott.gonzalez

Please use the forums or StackOverflow for help.

Note: See TracTickets for help on using tickets.