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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:20:37+00:00 2026-05-30T01:20:37+00:00

Type a random email address into my form and notice the ajax updates at

  • 0

Type a random email address into my form and notice the ajax updates at the top – http://goo.gl/DwvdY

How do I put those updates directly in the input box where you typed your email address? This is driving me crazy

There is an empty div named #response that first gets filled with this JS text update:

$('response').innerHTML = 'Adding email address...';

Then that same div gets the status returned to it and a newer update is echoed with PHP.

<span id="response">
<? require_once('inc/store.php'); if($_GET['submit']){ echo storeAddress(); } ?>
</span>
  • 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-30T01:20:38+00:00Added an answer on May 30, 2026 at 1:20 am

    it should be:

    $('#response').html('Adding email address...');
    

    To store it the the textbox directly do this:

    $('#email').val('Adding email address...');
    

    This should do it:

    $('#signup').submit(function() {
        // update user interface
        //store the value first to another variable before setting a new one
        var email = $("#email").val();
    
        $('#email').val('Adding email address...');
    
        // Prepare query string and send AJAX request
        $.ajax({
            url: 'inc/store-address.php',
            data: 'ajax=true&email=' + escape(email),
            success: function(msg) {
                $('#email').val(msg);
            }
        });
    
        return false;
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What I'm trying to do is type in random words into box1, click a
Displaying Type here to ... until the user enters text into a TextBox is
.ajax({ type: 'POST', url: '..serverices/ajaxserver.asmx', data: 'lname='+ $('#lastname').val() }); return false; if #lastname has
I have a contact form in my flash file with name/email/message fields which a
Is there a Python file type for accessing random lines without traversing the whole
Why is it not using the Math.Random I put in there. Thanks in advance.
Every time i use this script i get random symbols appear in the email.
I tried to confirm whether an email address is a valid Lync User by
I'd like to stop a form submitting by thr result of an ajax request...
I want to generate a random number of type short exactly like there is

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.