Opened 13 years ago

Closed 13 years ago

Last modified 8 years 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 13 years ago by Jörn Zaefferer

Milestone: TBD1.8

comment:2 Changed 13 years ago by rdworth

Resolution: fixed
Status: newclosed

Fixed in r3572

comment:3 Changed 8 years 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 8 years ago by Scott González

Please use the forums or StackOverflow for help.

Note: See TracTickets for help on using tickets.