Hi Expert!
I have one textbox in my MVC 4 project. In this textbox user entered Fax number of US format. I want to auto set US format Fax number during entered or after leave the textbox.
US format Fax number as following
+1-123-5695847
Please help me!
Thanks in advance!
AVADHESH PATEL
09-Mar-2013Hi Jayden!
You could try following line of code
Note:
"jquery-1.7.1.min.js" provided by MVC application
"jquery.maskedinput.js" you can download from following link
https://raw.github.com/digitalBush/jquery.maskedinput/1.3.1/dist/jquery.maskedinput.min.js