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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:33:29+00:00 2026-05-23T22:33:29+00:00

To keep things brief I need to direct you to my website. Please visit

  • 0

To keep things brief I need to direct you to my website.
Please visit http://www.plotsandhouses.com/user/register. Scroll down until you see the address portion of the registration form.

You will see various textfields. The one you are primarily interested in is the city textfield. Double click on the city label. That should "unhide" a second city textfield above the first.

The first city textfield is ajax enabled and dynamically searches for options as you type. The idea is to copy data from the first into the second(the one above) which isn’t ajax enabled. We are doing this so we can minimized user typos.

As an example, just type in the letter ‘L’ and select any of the provided options. The option you selected should have copied into the city textfield above.

Now the problem …

with the following code:

$('div#edit-field-city-0-value-wrapper').insertAfter('fieldset.location div#edit-field-company-address-0-city-wrapper');

    $('div#edit-field-company-address-0-city-wrapper').hide();

    

    $('div#edit-field-city-0-value-wrapper input').change(

        function(){

            var $selectedLGA    =   $(this).val();

            $('fieldset.location div#edit-field-company-address-0-city-wrapper input').val( $selectedLGA );

        }

    );

    

    $('div#edit-field-city-0-value-wrapper label').dblclick(

        function(){

            $('div#edit-field-company-address-0-city-wrapper').toggle();

        }

    );

In Firefox, the copying from ajax enable to non-ajax textfield works fine. But, not on IE, Chrome, Chromium nor Arora. And those browsers are a mix from Windows and Linux operating systems.

What might I be doing wrong or not doing period?

  • 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-23T22:33:29+00:00Added an answer on May 23, 2026 at 10:33 pm

    Possible problems that come to my mind are:

    1. change event (perhaps you could try with keyup)
    2. $(this).val() (check what do you receive as a value if this is called at all in situations you encountered when it doesn’t work)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

To keep things simple, please allow the assumption that some code requires the use
First a few definitions to keep things clear. User: A live person, using the
To keep things simple, we have a few aspx pages... Page1.aspx - resets Session
To keep things simplified lets say I have an interface RandomProvider interface public interface
To keep things simple, lets say I have a Node class, each node has
We're using Prototype for all of our Ajax request handling and to keep things
For various reasons, such as cookies, SEO, and to keep things simple, I would
I want to keep logs of some things that people do in my app,
I keep reading about C99 and C++11 and all these totally sweet things that
In Eclipse RCP way of doing things, where should I keep my model objects?

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.