Detecting user typing in a text box

killerbee

New Member
I am using listeners to detect when a user finishes with textbox; when the text is value is changed, I am pasting their text on to the page using innerHTML.\[code\]document.getElementById("dateinput").addEventListener("change", function() { myDate(document.getElementById("dateinput").value); }, false);\[/code\]Is there a way to listen for each key press to immediately paste the .value character by character as they type? I only want to do this while the textbox has focus.Thanks.
 
Back
Top