I've never heard of an event in jQuery called input
till I saw this jsfiddle.
Do you know why it's working? Is it an alias for keyup
or something?
$(document).on('input', 'input:text', function() {});
I've never heard of an event in jQuery called input
till I saw this jsfiddle.
Do you know why it's working? Is it an alias for keyup
or something?
$(document).on('input', 'input:text', function() {});
jQuery has the following signature for the
.on()
method:.on( events [, selector ] [, data ], handler )
Events could be anyone of the ones listed on this reference:
https://developer.mozilla.org/en-US/docs/Web/Events
Though, they are not all supported by every browser.
Mozilla states the following about the input event:
working in both IE and chrome