Home >Web Front-end >JS Tutorial >Several ways to implement the phone call function in jquery mobile_jquery
If you need to make calls, send emails, call SNS and other functions in a mobile browser, the interface provided by jquery mobile is a good way.
Adopt the url link method to implement the call function in mainstream browsers such as safari ios, android browser, webos browser, Symbian browser, ie, operamini and so on.
1. The most commonly used method:
Supports most browsers, but does not support well on QQ browser.
2. Automatically detect phone numbers
If you want to support safari for ios and blackberry browser number, you need to add the following tag:
In wml, you can call the wtai function of the device to call a specific phone number. Currently, more and more browsers support this feature, but not all.
The code is as follows:
4. There is another way: