Synchronized Textboxes/Formboxes

AaronV

New Member
Hey:

So this is what I want to do: I'm building a kids website that is a tall webpage. I want a kid to be able to enter his name into a field when he first arrives at the page. Then, the child will scroll down the page, interact with some content, and then when he gets to the bottom of the page I have a treefort. I want their name to be shown on the front of the treehouse. ???

So basically, I want text-box 1 at the top of the page, and I want text-box 2 (preferably without any decoration) on the bottom of the page to simply just copy whatever is in text-box 1. ?? Any help would be great!

Thanks, Aaron
 

bcee

New Member
Code:
<input type="text" id="username-1" onkeypress="document.getElementById('username-2').value=this.value"/>
<input type="text" id="username-2" />
 
Top