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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:39:17+00:00 2026-06-14T10:39:17+00:00

My jQuery UI version is 1.8.24 and I have issue using the remove method.

  • 0

My jQuery UI version is “1.8.24” and I have issue using the remove method. I have thee tabs and as far as I know, they are 0-based indexed.

I have look thought other similar questions and I am using this code to remove the second tab:

$("#tabs").tabs('remove','1');

but the last tab is removed either. Actually, no matter what i index used:

 $("#tabs").tabs('remove','1');
 $("#tabs").tabs('remove','2');
 $("#tabs").tabs('remove','100');

always the last tab is removed.

Any ideas what is causing this? And something more interesting, I was not able to found this method described in the UI tabs documentation.

  • 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-14T10:39:19+00:00Added an answer on June 14, 2026 at 10:39 am

    Shouldn’t the second parameter be a number? jQuery is probably evaluating the String '1' and '2' to be the integer 0.

    If you don’t have control of the data source (e.g. you’re getting it out of the DOM), do:
    $("#tabs").tabs('remove',parseInt('1'));

    otherwise just use the correct data type:

    $("#tabs").tabs('remove', 1);

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

Sidebar

Related Questions

i am using jquery version 4.x and i have implemented column chooser on my
I'm using jQuery version 1.7.1 from Google CDN and have the following code: $(menuInstance).delay(2000).removeClass('loading').html(ul);
ok, im using Jquery (edge) version, and bootstrap 2.0, and i have this code:
I have this jquery issue that seems to only break when using background image
I'm using the latest version of jFeed with the latest jQuery. I know jFeed
I have a widget based on jQuery UI's resizable (version 1.8.24) which is filled
My drupal version is 6 and currently running jquery version 1.6.2. I am using
Using jQuery on() version 1.7. I bind my events usually like this: $(.foo).on(click, function()
I'm using both Knockout (version 2.0) and jQuery Mobile (version 1.0.1) in the same
Using an adapted version of jquery.inplace.js for some page creation and use an OBDC

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.