I want to do realtime form validation. I have a form input tag with the onkeypress attribute. Like this onkeypress="isNewName();" It appears to call the isNewName function, but it seems to be only firing once. How can I make fire with each keystroke entered? Thanks for your help! dan
This seems to fire every keypress. It displays the keycode in the status bar. If your code still doesn't work, you'll have to post it. Code: <script> function showKey() { window.status = event.keyCode; } </script> <input size=10 onkeypress=showKey()>