4

I'm developing a web application using PhoneGap that will be distributed to several mobile OS including iOS.

When I generate the application to iOS the numeric values with at least 7 digits are modified to telephone anchors, in order to "fix" this I've attached the following event handler:

$( 'a[href^="tel"]' ).live( 'click', function() {
    return false;
});

This code works fine except when I use jQuery Mobile, any idea why?

Diogo Cardoso
  • 21,637
  • 26
  • 100
  • 138

2 Answers2

6

Try to add this to your header

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

See How to disable phone number linking in Mobile Safari?

Community
  • 1
  • 1
Gabriel Santos
  • 4,934
  • 2
  • 43
  • 74
0

it actually works well for me on PhoneGap as well.

MFAL
  • 1,090
  • 13
  • 19