Thanks for the update. In fact, I've been trying to find a new angle at my UI issue.
The page displays an on-line keyboard with some letters that the user might not have on his actual keyboard.
When the user has the cursor in the input field, he can type in and also click on some letters of the on-line keyboard, which acts as if the user had typed in these letters.
The on-line keyboard works fine.
But, if I want to implement an onchange event handler on the input field, the handler is called even if the user clicks on a letter of the on-line keyboard.
I wonder if there would not be a way, with jQuery probably, to capture the onchange event and wait to see if a click on the on-line keyboard letter has not happened, before actually firing up the validation method.
A bit tricky..