Can someone tell me what is the difference between change and input events?
I use jQuery to add them:
$('input[type="text"]').on('change', function() { alert($(this).val()); })
It also works with input instead of change .
Maybe there is some difference in the ordering of events relative to the focus?
javascript jquery dom events
Gabriel Petrovay Jun 11 '13 at 15:06 2013-06-11 15:06
source share