views:

292

answers:

1

Hi there.
I have a webapp that displays many long numbers recognized as telephone numbers on iPhone / iPad. I used the meta tag mentioned in apple's reference to disable it:

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

But this does not work if i load or reload the page normally. When I am reloading a part of the page with ajax, it suddenly works and the numbers are normal text. But when i reload the page, the numbers are links again. This happens also if the ajax loaded content is exactly the same that was at the place before the ajax request.

If i view the page in the browser (not as webapp) it works right from the beginning.

Do you know why this is happening, and how i can fix it? Is there any other way to force numbers to not being links.

Thanks for any help.

A: 

I have had a similar problem where an embedded web page worked fine in a browser, but the problem occurred when embedded in an app. This was due to the meta tag being over written by settings in the app itself, see http://developer.apple.com/iphone/library/documentation/uikit/reference/UIKitDataTypesReference/Reference/reference.html#//apple_ref/doc/c_ref/UIDataDetectorTypePhoneNumber.

May help?

Mike
Its not an embedded webpage in native application. It's a webapp = customized webpage = pure html + JS + css.
Marks