Solved

Phone Mask in Web Page

Posted on 2014-10-03
3
100 Views
Last Modified: 2014-10-06
Hi Experts,

Is there any way that I can have a phone mask in a web page as (###) ###-####?

I see that HTML5's tel field is not yet supported in IE and FF.

Thanks,
0
Comment
Question by:APD_Toronto
  • 2
3 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 40360625
Pattern masks could work but not in Safari
The only cross browser way is js/jquery
0
 

Author Comment

by:APD_Toronto
ID: 40360665
Safari is MAC, right?

Do you have a js/jquery example?
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40360687
Safari is on Windows as well (but hardly used)

There's several jquery plugins
http://digitalbush.com/projects/masked-input-plugin/
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Find out what you should include to make the best professional email signature for your organization.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question