phone number validation with added input

Posted by Rkstarcass on Stack Overflow See other posts from Stack Overflow or by Rkstarcass
Published on 2010-05-19T23:18:22Z Indexed on 2010/05/19 23:20 UTC
Read the original article Hit count: 120

Filed under:
|
|

I recently filled out a form and when I got to the phone number textBox I noticed some really cool things going on. As I entered my number, general phone symbols were getting added automatically. Example:

I start entering my area code '555'

and my input was changed to 1 (555)

to test what just happened I backspaced on the ) and it quickly added it back in.

So my question is, how do I get this input to happen?

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript