How to call a call using jquerymobile _ jquery-js tutorial

Source: Internet
Author: User
Call the address book and call the phone number listed on the mobile web page when making a convenient service call, if you need to call, send an email, or call sns in a mobile browser, jquery mobile provides an interface.

Using url links, you can call safari ios, android, webos, Saipan, ie, operamini, and other mainstream browsers.

1. The most common method:

The Code is as follows:


Alert!


In the dial-up interface, the number is displayed and a message is displayed for dialing.

Supports most browsers, but does not support qq browsers.

2. Automatically detect phone numbers

To support the numbers of safari for ios and blackberry browser, add the following tags:

The Code is as follows:




3. Call using the wtai protocol.

In wml, you can call the wtai function of a device to call a specific phone number. Currently, more and more browsers support this function, but not all.

The Code is as follows:

The Code is as follows:


<Input name = "phone_no" format = "* m" value = "13"/> <do type = "option" label = "outbound call"> <go href = "wtai: // wp/mc; $ (phone_no) "/> </do> <br/> or write the phone number directly: <a href =" wtai: // wp/mc; 1331597312 * "> call </a>


Instance:

The Code is as follows:


Call 10086 to store 10086 to the phone book and send a text message to 10086.


This method is recommended.

4. Another method is as follows:

The Code is as follows:


Call Hotline


After testing, most browsers do not support this function.
Related Article

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.