Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2435 closed bug (notabug)

Tabs 3. Ajax and .tabs("select", x)

Reported by: jasonE Owned by: klaus
Priority: major Milestone:
Component: ui.core Version: 1.2.3
Keywords: tabs Cc:
Blocked by: Blocking:

Description

I am currently using Tabs Ajax feature by pointing the href to the page, to load 3 tabs. If i try to than use the .tabs("select", x) to move the user to a specific tab i get the following error: $("#tabNav > ul").tabs is not a function.

Interestingly enough I can use the exact same code and make it work if I instead point the href to a div on the same page. Code sample attached.

Please let me know if I'm missing somethiong or if this is an actualy bug.

Thanks

Jason

Attachments (1)

tabs_snippit.txt (604 bytes) - added by jasonE 12 years ago.
Code snippit

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by jasonE

Attachment: tabs_snippit.txt added

Code snippit

comment:1 Changed 12 years ago by paul

Owner: changed from paul to klaus

comment:2 Changed 12 years ago by klaus

Resolution: worksforme
Status: newclosed

Works perfectly for me. The attached snippet is probably not enough to reproduce the bug (if it is a bug). Also it would be crucial to know the browser/os the error occured in.

comment:3 Changed 12 years ago by jasonE

Resolution: worksforme
Status: closedreopened

Sorry for not including enough information. I'm reopening the ticket. I put a stripped down version of the project I am working online here.

http://rpt.homes.com/iTools/klaus.cfm

The test link above the tabs calls the function and throws the error. So far I've tested this in ie 7 and Firefox on Windows XP SP2.

Thanks for looking

comment:4 Changed 12 years ago by jasonE

Please disregard. I was able to resolve the issue. It was either the 2nd inclusion of a style sheet or the second inclusion of the jQuery library that was causing the issue. Thanks for your time.

comment:5 Changed 12 years ago by klaus

Resolution: invalid
Status: reopenedclosed

comment:6 Changed 11 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

Note: See TracTickets for help on using tickets.