Created
February 11, 2015 10:08
-
-
Save abdullahbutt/e1ced315bfca62a4918a to your computer and use it in GitHub Desktop.
jquery phone mask
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery(function($) { | |
| $.mask.definitions['~']='[+-]'; | |
| $('#phone').mask('(999) 999-99999999'); | |
| $("#ssn").mask("999-99-9999"); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment