Opened 6 years ago

Closed 6 years ago

Last modified 9 months ago

#4960 closed bug (fixed)

Tabs: wrong selected tab index

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

Description

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

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

Change History (4)

comment:1 Changed 6 years ago by jzaefferer

  • Milestone changed from TBD to 1.8

comment:2 Changed 6 years ago by rdworth

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

Fixed in r3572

comment:3 Changed 9 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 9 months ago by scottgonzalez

Please use the forums or StackOverflow for help.

Note: See TracTickets for help on using tickets.