3

Possible Duplicate:
How to disable phone number linking in Mobile Safari?

I'm developing a mobile reporting application for a client using phonegap/jquery-mobile. A certain report we have will output IDs that look similar to phone numbers. The elements added to the dom look like:

<div>ID: 54321777</div>  

While testing on the iphone, we noticed it would turn these IDs into links that open up the dialer app. Is there some way to explicitly prevent this behavior?

Community
  • 1
  • 1
Josiah
  • 423
  • 7
  • 16

1 Answers1

10
<meta name="format-detection" content="telephone=no" />

Source

Community
  • 1
  • 1
esqew
  • 42,425
  • 27
  • 92
  • 132
  • Rather than re-posting a code-snippet without any explanation it's a good idea to close this question as an exact duplicate since the question is already answered on S.O. – Jasper Aug 20 '12 at 21:11