Mobile side of the web page click the link to trigger automatic call or save the phone sample code
- 2020-03-30 03:43:01
- OfStack
Make phone calls from the web page
<a href= " tel://110 " > Make a phone call </a>
Remember to write this way, do not write your own method to call
For example; < A href = "javascript: phone (' + phone +)" > Dial the number < / a>
function phone(date){
window.location.href = 'tel://' + date;
}
It's not compatible with IOS