textarea to innerHTML
it gets delayed -1 character. Here's the script. Paste it and tell me what's wrong
<textarea cols="45" rows="5" name="comment" onkeyPress="writeText(document.form1.comment.value)"></textarea>
Thanks in advance
PS: By the way... How can I make it appear some HTML code when there characters start to be typing?
Instead of using onKeyPress, use onKeyUp or onChange.