Skip to main content

Search and Top Navigation

#4960 closed bug (fixed)

Opened November 16, 2009 09:41AM UTC

Closed December 31, 2009 01:44PM UTC

Last modified May 18, 2015 01:00PM UTC

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

Attachments (0)
Change History (4)

Changed November 17, 2009 06:27PM UTC by jzaefferer comment:1

milestone: TBD1.8

Changed December 31, 2009 01:44PM UTC by rdworth comment:2

resolution: → fixed
status: newclosed

Fixed in r3572

Changed May 18, 2015 11:12AM UTC by abhisheker141 comment:3

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);";

Changed May 18, 2015 01:00PM UTC by scottgonzalez comment:4

Please use the forums or StackOverflow for help.