• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1360
  • Last Modified:

suppress click to call on iphone

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
PhilC
Asked:
PhilC
  • 3
  • 2
1 Solution
 
agriesserCommented:
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
 
PhilCAuthor Commented:
worked great, just needed to add a single one.
I also found out that adding href="#" works too.
Thanks for your help
0
 
agriesserCommented:
Great to hear that it worked for you :)
What do you mean with "adding href="#""? make a link out of it?
0
 
PhilCAuthor Commented:
yes, if I make it a link the iphone does not treat it as a phone number
0
 
agriesserCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now