禁止在JqueryMobile上识别电话号码 [英] Prevent Phone Number recognition on JqueryMobile

查看:113
本文介绍了禁止在JqueryMobile上识别电话号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Jquery Mobile时遇到此问题.问题是标签上显示的日期值为"12/6/1999".现在,JQuery Mobile将其转换为链接,因为它被识别为电话号码.我不太确定是jquery还是iPhone.

I have this problem using Jquery Mobile. The issue was I have a date value of "12/6/1999" that is displayed on a label. Now JQuery Mobile converted it to a link because it is recognize as a phone number. I'm not very sure if it's jquery that does that or the iPhone.

因此,我的第一种方法是寻找一种防止jquery mobile识别电话号码的方法.有办法吗?

So, my first approach was I'm looking for a way to prevent jquery mobile to recognize phone numbers. Is there a way to do it?

如果是iPhone,我可以禁用它吗?

If it's iPhone that does it, is there a way that I can disable it?

非常感谢您的帮助.

推荐答案

您可以尝试

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

这将告诉野生动物园不要检测电话号码.

This will tell safari to not detect phone numbers.

有关 http://developer.apple的更多信息. com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/PhoneLinks.html

这篇关于禁止在JqueryMobile上识别电话号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆