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 8675087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:51:46+00:00 2026-06-12T19:51:46+00:00

I am using JqueryUi tab control and I am wanting to have the same

  • 0

I am using JqueryUi tab control and I am wanting to have the same tab refreshed when I do some activity on the page. In my case, when I change value of a date control.

I have seen a lot of examples where they suggested to use ‘load’ with something like following:

var selected = $('.tabs').tabs('option', 'selected');
                    $(".tabs").tabs('load', selected);

That does not seem to work. What I am expecting here is if it has some code on that particular tab’s select then it should execute that.

I have a fiddle file to demonstrate it:

http://jsfiddle.net/6F26M/11/. As you can see in the fiddle, I am expecting a alert which will be executed on third tab selection.

Now, Load does not seem to do it.

I have also tried replacing load with select and that works IF I want to select another tab. but in my case, i would like to be able to refresh. it means re-select the same tab and it does not work.

  • 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-12T19:51:47+00:00Added an answer on June 12, 2026 at 7:51 pm

    OK. Here is answer:

     var selectedTab = $('.tabs').tabs('option', 'selected');
                        $('.tabs').find('li').eq(selectedTab).removeClass('ui-tabs-selected');
                        $(".tabs").tabs('select', selectedTab);
    

    So, the reason that it is not able to re-select or re-load it self it that the code does not act on selection when 'ui-tabs-selected' is set on any element. You remove it manually and it will work like charm.

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

Sidebar

Related Questions

Does anyone have any resources about creating your own tab control without using jQuery
I'm using jqueryui to display my page content in tabs. Right now I have
I am using jQuery tab control: http://jqueryui.com/demos/tabs/#ajax My design is: <div class=container2> <!-- review
I have a jQuery UI tab control in my web page, and i want
I have one question regarding using JQuery UI tab control in the asp.net mvc
I have built two control containers on a page, one is using jquery-ui tabs
using jquery v1.3.2 and jQuery UI 1.7.1 I have 1 tab control with 3
I'm using http://jqueryui.com/demos/tabs/#manipulation . I want to get an title of current selected tab
I am using jQuery UI 's tab view. I have included my HTML below,
I have two pairs of drag/drop/sortable lists using JqueryUI.http://jqueryui.com/demos/sortable/ My problem is that I

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.