Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4015092
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:34:36+00:00 2026-05-20T09:34:36+00:00

I might be making this more difficult than I need to but I am

  • 0

I might be making this more difficult than I need to but I am in some need of assistance. I have some jquery ui tabs which are added via the add functionality. these tabs are via ajax.

I have a tabTemplate set as follows on the initial addition of the tabs.

tabTemplate: "<li><a href='#{href}'>#{label},/a><li>"

And the add tab functionality is done via

$tabs.tabs('add', 'http://thanksforyourhelp/greatly/appreciated/, some_title_var)

If a form is submitted on that tab, data is written to the database. The response gives an ID of the row added to the database.

Next time that specific tab is visited the link should actually be ‘http://thanksforyourhelp/greatly/appreciated/ID&#8217; where the ID is now known since the response from the form (ajax here as well) sent it back. This will pre-populate the forms on the page based off the data in the database for “ID.”

I’ve looked at the example here, but my href is an id for the tab in question (and not a url). Where is the actual url stored?

The tab looks like this.

<a href="#ui-tabs-6">new</a>

I have tried changing the href on that, but upon clicking the tab the content is loaded without ajax instead of within the tab as desired. What might I be doing wrong here? Thanks for your help.

Edit: removed edits with references of no longer existent urls.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:34:37+00:00Added an answer on May 20, 2026 at 9:34 am

    I haven’t worked with AJAX-powered tabs too much, but I think you want the url method:

    $("#tabs").tabs("url", index, url)
    

    Change the url from which an Ajax
    (remote) tab will be loaded. The
    specified URL will be used for
    subsequent loads. Note that you can
    not only change the URL for an
    existing remote tab with this method,
    but also turn an in-page tab into a
    remote tab.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I might be making this more complicated than I have to. I have a
This might be one of the more difficult questions I've asked, but I have
This might be a stupid question but is it possible to use javascript/jQuery in
I know it might be a duplicate question but it is really making me
It might be a long shot posting this question here but we will see.
(This might be better in the TestComplete forums, but I thought I'd give it
This might sound to be a big question, but could you specify what are
Now this might sound simple, but I'm a bit mixed up. I am trying
Note: this is in relation to android specifically, but the best answer might not
I'm new at this TDD thing but making a serious effort, so I'm hoping

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.