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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:29:05+00:00 2026-06-03T17:29:05+00:00

I am having a problem toggling some content that was clicked.The two items are

  • 0

I am having a problem toggling some content that was clicked.The two items are identical and once i click one item,the other item that was not clicked toggles too.Is there a technique i can use to identify what was clicked so that the clicked item can toggle and the other is unaffected?.

Here is the example in jfiddle http://jsfiddle.net/dNt9e/

  • 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-03T17:29:08+00:00Added an answer on June 3, 2026 at 5:29 pm

    I have updated your Fiddle, please check here – http://jsfiddle.net/57vsn/4/

    Basically what’s changed is the following:

    if($('.toggleContent', $(this).parent()).is(':visible')){
        $('.toggleContent', $(this).parent()).hide("slow");
        $('.green', $(this).parent()).val("+");
    } else {
        $('.toggleContent', $(this).parent()).show("slow");
        $('.green', $(this).parent()).val("-");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having problem in displaying relational properties b/w two tables having one(company) to many(package_master) relationship
I am having problem that when i am trying to submit the form by
I am having problem with my repeater's OnItemCommand event. When I click the Link
I am currently having a problem with multiple div's toggling at the same time.
having problem with null pointer exception and i read few article bout that error
I'm having the problem that I cannot get client-side validation to fire from within
I'm having a simple problem toggling between +/- characters which prepend a link which
I am having problem with writing PDF files to browser. Other mime types work
Having problem with jquery submit(). The problem is that it doesn't work on the
am having problem in Saving some data in my Java code. I have like

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.