A lot of people seem to need dynamic width number masking. Where currency symbols, decimal separators, and thousands separators are applied automatically. I'm thinking about taking this on, but I have a few questions.
1.Should is be a part of the masked input plugin or a separate new plugin? *It seems like the only similarities between the two would be the caret positioning stuff. 2.Regardless of separation, should I modify the namespacing to accomodate both? a. $(selector).mask.fixed(mask,options); //current behavior b. $(selector).mask.variable(mask,options); //new proposed behavior Also, the biggest thing that's running through my head is this. What's the easiest way to denote this? Ideally I'd like to say mask.variable("-$9.99") or something similar, but that doesn't really give me any kind of idea on how to do this for other nationalities. Should I leave all of the i18n stuff as options? {decimalSeparator:",",thousandsSeparator:"."} This seems clunky to me. Is there any good way to read internationalization and globalization stuff from the browser? My head is swimming with ideas here, I just need some direction. Josh digitalbush.com