I've an input field I need to validate before sending the form.
So I bind a keyup event on this field, it send a XmlHttpRequest, and then I show the result on my ihm. It works fine.
But modern browsers provide some other way to add information into an input fields:
- It remembers last value and provides them as a dropdown
- It is also possible to paste from clipboard
I tried various event to detect them, but no one's (keyup exepted of course) were triggered.
$('#theForm').on('keyup', '.url', checkUrl);
$('#theForm').on('changes', '.url', checkUrl);
$('#theForm').on('click', '.url', checkUrl);
Is it possible to detect these events?
My target browser is Firefox 17.