Hi all!
In my project I need to validate the form while using entered data to enable submit button only after the correct data have been entered. I hook onkeypressed, onclick, onblur and onchange events for input field, but none of that is fired when user pastes values using mouse into the field. Currently I use setInterval to periodically check form data, but I don't like this decision. Any other ways to decide it?
Just to reiterate: I need enable submit button when correct data have been entered in input field (anyway: keyboard or mouse).