that's pretty sweet for alpha code! I could see the need for money validation $$$$$$.00 and other non-fixed length zzzzzzz number fields and something like xxxxxxx for non-fixed length alpha.
I think and object for the format char => the regexp would cut the size of the plugin that would grow with more format types. I've not seen such a sweet handling of validation before! thanks! On 2/13/07, mrcarxpert <[EMAIL PROTECTED]> wrote: > > Hello everyone. I just wanted to take this opportunity to introduce myself > and start giving back to the community. > > I've been using jQuery for about 6 months now, and in the process I've > produced a few plugins. As I clean up the code in these I will be releasing > them. The first of which is a masked input plugin for dates,SSNs,phone > numbers, etc. > > I've made the source code and examples for this project available at > http://digitalbush.com/projects/masked-input-plugin > http://digitalbush.com/projects/masked-input-plugin . > > I've tested this in Firefox and IE7 with the latest jQuery library. If you > don't mind I'd like to get some feedback on the plugin and how I can make it > better. I'd also like to know if there are any problems on other platforms. > > Since this is my first plugin I'm sure I'm missing a few things, but I tried > to follow the patterns from some other plugins on the jQuery site. One > thing I know I'm missing is, what's the best way to ensure that this masking > is only applied to a text input? Right now my code returns this.each( > /*code*/), but I'm guessing I might want to > this.find("[EMAIL PROTECTED]'text']").each(/*code*/). What is the most > elegant > way to do this? > > Anyway, I look forward to some feedback. I'll consider myself formally > introduced. :) > > Josh > -- > View this message in context: > http://www.nabble.com/Introduction-and-Masked-Input-Plugin-tf3224850.html#a8957581 > Sent from the JQuery mailing list archive at Nabble.com. > > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
