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 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 an example http://jsfiddle.net/6GdW6/ $(.thumbnail).live(click, function() { $(.fullimage).hide(); var i = $(<img />).attr(src, this.href).load(function()
Here is a live example: http://jsfiddle.net/Pzvdv/ <ul id=navigation> <li><a href=#>HOME</a></li> <li><a href=#>OUR APPROACH</a></li> <li><a
I have an problem with my small jQuery menu. Here`s a live example: http://jsfiddle.net/jvalousek/NthrX/
i have a fairly simple dropdown I build. Here is the live example: http://jsfiddle.net/K8VtB/
My tool tip text doesn't wrap with given text in ie6, live example http://jsfiddle.net/hWAJh/
http://jsfiddle.net/motocomdigital/uTV5k/14/ Hello, I thought I was nearly their with this conundrum. See my jsfiddle
here are the codes and preview >> http://jsfiddle.net/shingou/PGFxZ/ as you can see I've used
I have a problem with jQuery selectors: $(ul.questions li).not(.title, .content).click().live('click', function(){ $(.inspector).slideToggle(); if($(this).hasClass(selected)) {
I have the following markup: http://jsfiddle.net/dy4TG/3/ <div class=slide-wrap> <div class=slide> <div class=text>Text here</div> <img
Consider the following example: ( live demo here ) HTML: <div class=board> <div class=row>

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.