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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:31:09+00:00 2026-06-09T02:31:09+00:00

This will be a bit hard to explain but I am going to have

  • 0

This will be a bit hard to explain but I am going to have to try my best.I have 3 hidden containers, which has 3 links that associates to each of the 3 containers via an ID. And when i click each link it will open the container associated.

But now here is a twist. There are other JS that will perform other actions which I have NO control to and they are NOT using any scope in their scripts so which means it is manipulating all 3 of my containers at once which is not the wanted behavior. I want it to ONLY affect the container I clicked on. So my first presumption is to somehow disable containers that are not opened from being modified and re-enable them when it is closed or I choose another container. Confused yet? Here is a sample link that should illustrate the setup:

http://jsfiddle.net/UxRkZ/1/

So as a summary, I want to somehow prevent the other hidden containers from being manipulated while one of the containers are visible/opened. Remember there are other scripts that fires and those scripts have no scope as it thinks there should only be one container…

Thanks!

  • 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-09T02:31:10+00:00Added an answer on June 9, 2026 at 2:31 am

    Ok, what I ended up doing is iterate through all the divs and remove the class from each one and then re-applied them to the currently selected container only. This way other JS scripts won’t be able to manipulate those elements.

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

Sidebar

Related Questions

Okay, this will be a bit hard to explain, but I'll try my best.
This is hard to explain but I will do my best. In order to
This will be a bit subjective, I'm afraid, but I'd value the advice of
I am a bit lost as to how to explain this, so I will
This will probably be obvious but I can't find the best way. I want
Well, it will be a bit hard to explain what i need to do
I will try to explain as best as I can what I realy want
So this is kind of hard to explain in text, I have attached an
I have code like this, and I find it a bit hard to read:
A bit hard to find a proper title... I have an object which basically

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.