Solved

suppress click to call on iphone

Posted on 2008-10-07
5
1,249 Views
Last Modified: 2013-12-25
we have an html base application designed for the iphone that is displaying some information in the format
##/##/## ##.###
the iphone insist on allowing the user to click this and call the number.  Since the data is really a date and a numerical code it is nonsensical to call it as a telephone number.  Is it possible to write the html in such a way as to prevent the iphone from trying to help out and prompting the user to make a call?
0
Comment
Question by:PhilC
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
agriesser earned 500 total points
ID: 22659196
Already tried to put shy's in there?
shy's are usually not visible and might break the phone number recognition on the iphone, the below is just an example but you get the idea.
##­/##­/##­ ##.­###

Open in new window

0
 

Author Comment

by:PhilC
ID: 22659454
worked great, just needed to add a single one.
I also found out that adding href="#" works too.
Thanks for your help
0
 
LVL 14

Expert Comment

by:agriesser
ID: 22659569
Great to hear that it worked for you :)
What do you mean with "adding href="#""? make a link out of it?
0
 

Author Comment

by:PhilC
ID: 22659858
yes, if I make it a link the iphone does not treat it as a phone number
0
 
LVL 14

Expert Comment

by:agriesser
ID: 22659906
ok, but then it looks like a link and that's probably something you don't want in your application. Of course, you can modify the style of the link to not look like the other links on your site, but as to my experience, the shy method is the best one.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

948 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now