jQuery - on change input text

The Solution to jQuery - on change input text is


This is from a comment on the jQuery documentation page:

In older, pre-HTML5 browsers, "keyup" is definitely what you're looking for.

In HTML5 there is a new event, "input", which behaves exactly like you seem to think "change" should have behaved - in that it fires as soon as a key is pressed to enter information into a form.

$('element').bind('input',function);

~ Answered on 2012-05-03 19:54:24


Most Viewed Questions: