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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:14:31+00:00 2026-06-14T04:14:31+00:00

Is it possible to clone the value from <textarea id=text></textarea> and <input id=name type=input

  • 0

Is it possible to clone the value from

<textarea id="text"></textarea>

and

<input id="name" type="input" />

as pure text into a div or paragraph tag immediately?

Example: if “123” is typed in it will clone “123” into the div with no delay.

  • 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-06-14T04:14:32+00:00Added an answer on June 14, 2026 at 4:14 am

    Yes, use the keydown event and a short 10 ms delay (or possibly less, anything less than 30 is not noticeable by the user).

    $("#text").on("keydown",function(){
        setTimeout(
            // proxy callback to `this` rather than `window`
            $.proxy(function(){ 
                $("#target").text(this.value);
            },this)
        ,10);
    });
    

    Demo: http://jsfiddle.net/7Qrug/

    Edit: If you don’t like or understand $.proxy, it could also be written as:

    $("#text").on("keydown",function(){
        var that = this;
        setTimeout(function(){ 
            $("#target").text(that.value);
        },10);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using JQuery it possible to clone a Div like this and change add a
Is it possible to clone only one branch (or from a given commit) in
Just wondering will it be possible to passing a value from one page (window
Is it possible to close Windows Explorer from CMD? I have a batch that
is it possible to remove close button from QDialog?
Using javascript, how to open a text-file or html-file from a web-page and load
Here's the relevant excerpt from the documentation of the ref function: The value returned
$(document).ready(function() { $(form#login_form).submit(function() { var login_username = $('#login_username').attr('value'); var login_password = $('#login_password').attr('value'); type: POST,
Is it possible to change the value of the android:noHistory attribute of an Activity
Possible Duplicate: Function triggering early calling a functions value I need some help. I

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.