![]() |
onkeypress form attribute only firing once
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 |
Re: onkeypress form attribute only firing once
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> |
Re: onkeypress form attribute only firing once
onkeyup rather than onkeypress should work for realtime form validating
|
| All times are GMT +5.5. The time now is 13:11. |