Skip to content

groupme/jquery-format-phone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Format Phone

Formats text fields as phone numbers on the fly, like when you type in the iPhone's phone number field.

Usage

Just call formatsPhone where you want the behavior.

$('input[type="text"]').formatsPhone();

Now all text inputs on that page will format phone numbers.

TODO

  • Backspace behavior is a bit weird.

About

Formats phone number inputs on the fly, iPhone style

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published