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

  • SEARCH
  • Home
  • 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 9120521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:38:46+00:00 2026-06-17T05:38:46+00:00

using jQuery UI 1.9.2 (upgraded from 1.8.23) and I see this on the Upgrade

  • 0

using jQuery UI 1.9.2 (upgraded from 1.8.23) and I see this on the Upgrade guide;

Deprecated url method and use of title attribute; use aria-controls attribute

(#7132) The url method has been deprecated in favor of leaving the href attribute unmodified even for remote tabs. The href attribute will point to the actual resource and the aria-controls attribute will point to the associated panel. This means that the title attribute will no longer be used to specify a custom panel id.

I have this code:

var $t = $("#tabs");
$t.tabs("url", 0, url);           
$t.bind("tabsload", function (event, ui) {
    console.log('tabsload fired');
});
$t.tabs("load", 0);

I cannot figure out how to set the url value for the tab (this code is fired when the user clicks on a grid row and the url value is rebuilt based on grid values) now as I do not understand the upgrade guide to use the aria-controls comment.

  • 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-06-17T05:38:47+00:00Added an answer on June 17, 2026 at 5:38 am

    The approach I have taken is to set the href of the AJAX link and then call the load method to reload the content.

    I appreciate that this does not use the aria-controls attribute, but the snippet from the upgrade guide states that this attribute points to the panel – remote tabs receive their content based on anchor contained in the li element, so I figured I should be able to use this approach.

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <link href="Scripts/jquery-ui-1.9.2.custom/css/ui-lightness/jquery-ui-1.9.2.custom.min.css"
            rel="stylesheet" type="text/css" />
        <script src="Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
        <script src="Scripts/jquery-ui-1.9.2.custom/js/jquery-ui-1.9.2.custom.min.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(document).ready(function () {
                $('#tabs').tabs();
                $('#change-button').click(function (event) {
                    $('#ajax-link').attr('href', 'Handler1.ashx?echo=changed at ' + new Date().toTimeString());
                    $('#tabs').tabs('load', 0);
                    event.preventDefault();
                });
            });
        </script>
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div id="tabs">
            <ul>
                <li>
                    <a id="ajax-link" href="Handler1.ashx?echo=some text to repeat">Tab 1</a>
                </li>
            </ul>
        </div>
    
        <button id="change-button">Change</button>
        </form>
    </body>
    </html>
    

    I am using a generic HTTP handler (this is the AJAX request) which simply echos back the text it is passed, e.g., Handler1.ashx?echo=some text to repeat. Note that my tabs consist of only one tab that makes an AJAX call to this handler.

    To change the Url, I handle the click event of the button and modify the href of ajax-link like this and then reload it:

    $('#ajax-link').attr('href', 'Handler1.ashx?echo=changed at '
        + new Date().toTimeString());
    $('#tabs').tabs('load', 0);
    

    So for this to work you will need to provide the link you wish to change with an ID and you will need to know at which position the tab page occurs.

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

Sidebar

Related Questions

I recently upgraded from jQuery 1.2.6 to 1.3.2 Now on the page I'm using
I was able to get this working using jquery 1.6, but I upgraded to
I've been using jQuery UI v1.6rc2 for a while, and wanted to upgrade to
I have been using jquery 1.3 and upgraded to jQuery 1.6. However I am
We using jquery input mask from here and a code snippet that sets and
Referring to the plugin: http://malsup.com/jquery/form/#getting-started I've recently tried to upgrade from old v2.28 to
I recently upgraded from loading JQuery 1.4.4 to 1.5.0 with Google CDN. When I
I recently upgraded our project's jQuery file from 1.4.2 to 1.4.4 and it appears
I'm trying to upgrade jQuery from 1.4.1 to 1.7.1 and found a problem with
I am using jquery 1.3.2 and I can't use the parseJSON since it is

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.