Realtime text printing from input box/textarea.
Hey, guys! How do you print text on a website as you type the text into a input box or textarea? I've seen this in a few places but can't remember for the life of me how this is accomplished. I think I've done this in the past but have no idea how to do it now.
Basically, you type into an input box/textarea and it prints the text on the page in realtime just underneath the input box/textarea where you're typing. Any ideas? Thanks!
and if this is part of a school assignment, I want 30% of your mark
<input type="text" name="txtIn" onkeyup="document.getElementById('outTxt').innerHTML = this.value;"
Haha! No, I'm not a student...I'm 26, though I guess that doesn't matter. I'm just trying to figure out a few things so I can try to implement them in a site I'm working on for my mom. That works great! Thanks!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)