Reputation: 22257
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?
Upvotes: 4
Views: 1767
Reputation: 4974
Try to add this to your header
<meta name="format-detection" content="telephone=no">
See How to disable phone number linking in Mobile Safari?
Upvotes: 6