How can I handle an onchange for ? I can\'t do a keyup or keydown, be
keyup
keydown
The oninput event (.bind('input', fn)) covers any changes from keystrokes to arrow clicks and keyboard/mouse paste, but is not supported in IE <9.
oninput
.bind('input', fn)
jQuery(function($) { $('#mirror').text($('#alice').val()); $('#alice').on('input', function() { $('#mirror').text($('#alice').val()); }); });