Solved

Phone Mask in Web Page

Posted on 2014-10-03
3
103 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

624 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