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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:22:49+00:00 2026-05-24T09:22:49+00:00

Live example: http://jsfiddle.net/69naX/1/ I click show, next click one, two etc, unclick etc. This

  • 0

Live example: http://jsfiddle.net/69naX/1/

I click “show”, next click “one”, “two” etc, unclick etc. This doesnt work good. Next I click hide. This is OK.

Next I click “show” again and click “one” etc – this doesnt work. Next click “hide”, next click “show” – “one” etc this works good.

Next click “hide”, click “show” – click “one” etc doesn’t work. This repeat all the time every two.

How can i fix it? .live doesn’t help.

  • 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-24T09:22:51+00:00Added an answer on May 24, 2026 at 9:22 am

    You define handlers when you click Show. So when you click it a second time, the handlers are defined twice and what happens is equal to normally clicking twice – selecting and unselecting directly.

    Clicking three times on Show will result in normally clicking three times which works (selecting – unselecting – selecting). Four times again won’t, etc.

    You could just move the click handlers of one, two, etc outside so that they get defined once only: http://jsfiddle.net/pimvdb/69naX/2/.

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

Sidebar

Related Questions

Here is a live example of my problem http://jsfiddle.net/littlesandra88/xksB9/ I would have expected that
i have a fairly simple dropdown I build. Here is the live example: http://jsfiddle.net/K8VtB/
Live example here: http://timkjaerlange.com/foobar/stack-stuff/august-18-2010/test.html I want to animate addClass and removeClass on this interface
Live Example: http://newsite.702wedding.com/vegas-wedding-chapels.asp Works Great in FireFox, Chrome, but IE the Slide Show Arrow
I'm trying to use Live Search 2.0 but even a simple example doesn't seem
Why Textarea and textfield not taking font-family and font-size from body? See live example
it is possible to bind Live('hover') and bind('contextmenu') on the same .class? This code
I was just reading http://api.jquery.com/event.stopPropagation/ Since the .live() method handles events once they have
In the following example I get title from this form using html id=title .
Assumption: live/production web app suppresses errors being shown to end-users. Suppose your tech support

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.