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.