Response title
This is preview!
In my monitor I just duplicated the binding and used both keypress and keydown to be safe, because updating the monitor if nothing is changed doesn't do any harm.Thekeypress
event is sent to an element when the browser registers keyboard input. This is similar to thekeydown
event, except in the case of key repeats. If the user presses and holds a key, akeydown
event is triggered once, but separatekeypress
events are triggered for each inserted character. - http://api.jquery.com/keypress/
© 2013 jQuery Foundation
Sponsored by and others.