Jump to content

copying input text to another element as it is being typed in real time


boo_lolly

Recommended Posts

I'm trying to figure out the easiest and best way to have a little bit of javascript functionality. So let's say for example I have a page like this:

<div id="copy"></div>

<input type="text" name="userinput" />

 

I would like the div to display the text of whatever the end user is typing in the input field while end user is typing it in real time seamlessly. I'm sure there is no need for a javascript toolkit or framework for this one, but I'm already using jQuery with this project so if you decide to submit a working example using jQuery by all means do. Any help, resources, or advice is welcomed. Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.