Changes between Version 12 and Version 14 of Ticket #9121
- Timestamp:
- Jun 6, 2011, 8:37:56 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9121 – Description
v12 v14 3 3 A while ago, I wrote a plugin that normalizes the event for browsers that don't support it, notably IE6-8. I believe this works well enough, despite a few limitations. Despite the existence of this event (and the plugin), every day I see people recommending the use of `onkeyup` for acting on user input. Integrating this event into jQuery may help these users learn to handle user input more appropriately. 4 4 5 The following fiddle demonstrates the event (and the plugin) very basically: http://jsfiddle.net/B459a/.All it does is copies the text as you type, but as you can tell, there is no visual delay.5 The following fiddle demonstrates the event (and the plugin) very basically: All it does is copies the text as you type, but as you can tell, there is no visual delay. 6 6 7 7 Further reading: 8 8 9 http://www.whatwg.org/specs/web-forms/current-work/#the-change 10 http://www.whatwg.org/demos/2008-sept/widgets/ 11 http://blog.danielfriesen.name/2010/02/16/html5-browser-maze-oninput-support/ 12 http://whattheheadsaid.com/2010/09/effectively-detecting-user-input-in-javascript http://jsfiddle.net/B459a/.All it does is copies the text as you type, but as you can tell, there is no visual delay.9 10 11 12 All it does is copies the text as you type, but as you can tell, there is no visual delay. 13 13 14 14 Further reading: 15 15 16 http://www.whatwg.org/specs/web-forms/current-work/#the-change 17 http://www.whatwg.org/demos/2008-sept/widgets/ 18 http://blog.danielfriesen.name/2010/02/16/html5-browser-maze-oninput-support/ 19 http://whattheheadsaid.com/2010/09/effectively-detecting-user-input-in-javascript 16 17 18