digitalBush/jquery.maskedinput — pull request #89 by schveiguy (2012-06-14 18:37:15+00:00)
Title: Add ability to handle invalid data on blur

Now you can handle data that does not satisfy the mask on blur.

It's used by registering a handler under the key `invalid`, which then is called when the input loses focus. If the function returns 0, normal behavior occurs (the field is cleared). However, if the function returns 1, then the input is refocused, and the invalid data is left alone.

This only happens on blur, so invalid data on focus will still be cleared.

Tested on firefox 13.0 linux.