3 ms·
I wouldn't do ALL of these, but it is pretty easy to avoid multiple inputs for things like U.S. phone numbers. I like the approach of MaskedInput: the user can
by billybob 15y ago
I wouldn't do ALL of these, but it is pretty easy to avoid multiple inputs for things like U.S. phone numbers. I like the approach of MaskedInput: the user can type parens and dashes or not; if they type them, they're ignored. In any case, we get the format we want.
http://digitalbush.com/projects/masked-input-plugin/ http://digitalbush.com/projects/masked-input-plugin/ (click demo)