[jQuery] Introduction and Masked Input Plugin

[jQuery] Introduction and Masked Input Plugin


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("input[@type='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
discuss@jquery.com
http://jquery.com/discuss/