Is there something I can put in the code for an HTML page I am making for Safari on iPhone to make a call when clicked on? Something similar to:
<a href="tel://1300111222">click to call</a>
Safari: Click a phone number on a webpage, then click Call. Mail: Place the pointer over a phone number in an email, click the pop-up menu , then choose how you want to make the call. Maps: Click a place of interest, then click the Call button .
Turn Off Voice Control However, Voice Control can sometimes cause your iPhone to make random calls because it thinks you're telling to. Try turning Voice Control off and see if that fixes the problem. Open Settings and tap Accessibility. Tap Voice Control, then turn off the switch at the top of the screen.
Try to remove // from your link, that is <a href="tel:1300111222">click to call</a>
As Nava answered, remove // from your link.
But if you are using same web-application for desktop as well as mobile, then this won't work for your desktop and when you click on link, page will gone to "tel:XXXXXXXX". So this idea became fail.
Try using "callto" instead of "tel" like this
<a href='callto:1300111222'>Click to call</a>
Then if you are using mobile browser, then it will show call prompt and if you are using windows browser, then it will prompt you to call with "Skype" and any other related application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With