A while ago, I wrote an input mask extension for jQuery that automatically filters out any values other than decimal / integer from the input element, I just found that it no longer triggers the onchange event if the keyup event changes the input value:
Example: http://jsfiddle.net/At8Ht/37/
If you view this in Firefox, it will display “Halp!”. under the input after changing it, when the input is blurred / loses focus, but in Chrome it is not.
Does anyone have any suggestions? In fact, all I'm trying to do is automatically insert commas when the user types a large number, for example, typing in “1552” gives “1,552” after the user released the key “2”. This worked fine until Chrome 11/12 :(
source
share