A solution to HTML5 multiple digits in iOS into phone numbers

Source: Internet
Author: User

From "A little progress every day."

When the HTML page is displayed on the iOS device, when a serial number is entered consecutively, the click Defaults to the phone number dialing.

Methods to suppress this event:

<code class= "Hljs xml has-numbering" ><span class= "Hljs-tag" ><<span class= "Hljs-title" >meta< /SPAN> <span class= "Hljs-attribute" >name</span>=<span class= "Hljs-value" > "Format-detection" </span> <span class= "Hljs-attribute" >content</span>=<span class= "Hljs-value" > "telephone=" No "</span>/></span></code>

Description

Enable devices to browse the Web page when the number does not enable the phone function (different device interpretation, ITouch Click Number for the contact, the IPhone to call), ignoring the number of the page to recognize the phone number.
If you need to enable the phone function will be telephone=yes, if the page has Google Maps, ITunes and YouTube links on the iOS device to open the appropriate program components.

The following also belong to the excerpt

But some of the project requirements is that some elements do not convert the phone number, we can use a relatively dirty way to solve.

For example, to display the amount of the label, you can do the following rewrite:

1 <button style= "background:none;padding:0;border:0;" >10000.00</button> yuan 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: