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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:01:40+00:00 2026-05-30T05:01:40+00:00

complete code JSFIDDLE as shown in the code the selected state comes below the

  • 0

complete code JSFIDDLE

as shown in the code the selected state comes below the h4 , how to display the selected state in h4 and after selecting a state it just shows that particular state and not able to select other states

  • 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-30T05:01:44+00:00Added an answer on May 30, 2026 at 5:01 am

    I have made just simpler, you can decorate watever you want

    $('h4').live('click',function() {
            $(this).next('div').slideToggle('fast');    
    });
    
    $(".videostateId li").live('click',function(){
        if($(this).val() !==0) {
              if($('h4').html() =='State'){ 
                  $('h4').text($(this).text()); }
              else {
                $('h4').append(","+$(this).text())
             }
              $('div.state_wrap').slideUp('fast'); 
        }        
    });​
    

    see DEMO

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

Sidebar

Related Questions

Below is the complete code of the jquery AJAX tab script I am working
I'm just reading Code Complete by Steve McConell and I'm thinking of an Example
Update: I have provided complete code example in answer below. I have built my
This is the complete design I'm going for: And this is the code: http://jsfiddle.net/rlesko/f3R7r/4/
My complete code and stack trace is attached in the below link for your
I am using the following code --- EDIT @annakata : Adding the complete code
In most of the videos, I see expert JQuery developers writing complete code for
I am trying to do this: List<Parent> test = new List<Child>(); The complete code
The code-complete feature in Visual Studio is very useful, and it still works for
In the book 'Code Complete' the author talks about programming into a language (instead

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.