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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:03:49+00:00 2026-05-25T16:03:49+00:00

I am working on a project and I am using jQuery Tabs like the

  • 0

I am working on a project and I am using jQuery Tabs like the image below. I installed an Inline Edit script to modify the text, and delete if needed. There is no database involved at this point, I have a VIN decoder script and it pulls the default features and they can edit it if needed, and it edits in the DOM. It works perfectly but when I switch tabs to “Interior” and then go back to “Exterior” then the exterior content goes back to the original list and none of the updates were saved.

And this is probably because the main page is at add-vehicle.php and on that page this is how I get the content:

<div id="tabContent">
        <div id="contentHolder">
            <!-- The AJAX fetched content goes here -->
        </div>
    </div>

and the content is on features.php

enter image description here

var Tabs = {
    'Mechanical'    : 'features.php?feature=MECHANICAL&vin='+vin+'',
    'Exterior'  : 'features.php?feature=EXTERIOR&vin='+vin+'',
    'Interior'  : 'features.php?feature=INTERIOR&vin='+vin+'',
    'Safety'    : 'features.php?feature=SAFETY&vin='+vin+'',
}

Does anyone have any suggestions on how I can do this? What I want to happen is all of the inline edits will be saved, and I can switch through the differnet tabs and make those changes, and everything will be saved.

Not sure how well I explained this, please let me know if you need to see more code.

Thank you

  • 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-25T16:03:50+00:00Added an answer on May 25, 2026 at 4:03 pm

    This is a bit more complicated than you probably expect, you are removing the forms from the DOM before any data is saved.

    When the code is loaded back in for each tab, you are starting over with the forms.

    You can fix this a few ways:

    • Store the content of each tab in the DOM after it is loaded and just hide it when the tab is not in view.
    • When each tab is “unloaded”, store the data in JavaScript and place it back in the tab when that tab is loaded.
    • Allow the save buttons on each tab to save all the information server-side and when the tab is retrieved to populate the forms server-side.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using jQuery Tools Slideshow & Tabs for a project I am working
I am working on a project using Groovy, and I would like to take
I'm working on an ASP.NET project using MVP architecture. We would like to use
I'm working on a project that is using jQuery, which I'm much more familiar
I'm working on MVC project and i using jQuery in view page to get
Hi I am currently working on a project where I am using jQuery to
I am working on a project using the uploadify jquery plugin and CastleProject Monorail
I'm working on an ASP.NET MVC project using jQuery. I'm referencing the jQuery VSDoc
I am working on Project where I have JQuery 1-Page Horizontal scrolling website using
I have a little project I am working on and I am using jQuery.

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.