Great work Josh! RC3 dicards the need for hacks to catch the input.
David Josh Bush schreef:
I keep coming across a few bugs here and there that need fixing. I've released the 3rd RC for my masked input plugin. This one has breaking changes, so if anyone is using it, please proceed carefully. Here's what I managed to get into this release. * BREAKING CHANGE: The mask function has been changed to more closely match the style of the jQuery library. Instead of calling .maskedinput(), you will need to call .mask(). Additionally the .AddMaskDefinition() has been moved to a namespace and renamed. Instead, you should make a call to .mask.addPlaceholder(). * Fixed a bug where the buffer was wiped when text was selected and a non-typeable character was pressed. * Fixed a bug where the buffer was not cleared, but the text was when pressing the escape key. * More code cleanup. Please check it out at http://digitalbush.com/projects/masked-input-plugin Thank You Josh