[英]tapping on phone link not openning the dial pad
請幫忙。 電話鏈接沒有打開撥號盤。 請參閱下面的html。 我正在使用帶有html5和asp.net mvc 5的JQuery Mobile。我在錨標簽中使用了tel協議,但是當我點擊鏈接時,它沒有打開撥號盤。 當我在模擬器上測試它而不是在實際設備上時,它會打開Skype。 我正在使用三星Galaxy s5。
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device width, initial-scale=1" />
@*<meta name="format-detection" content="telephone=yes">*@
<script src="~/Scripts/jquery-1.10.2.js"></script>
<script src="~/Scripts/jquery-1.10.2.intellisense.js"></script>
<script src="~/Scripts/jquery.mobile-1.4.2.js"></script>
<title>Attorney Contacts</title>
<link href="~/Content/jquery.mobile-1.4.2.css" rel="stylesheet" />
<link href="~/Content/Contact.css" rel="stylesheet" />
</head>
<body>
<div data-role="page">
<div data-role="header" data-theme="b">
Mobile Site
</div>
<div data-role="content">
<a href="tel://1-555-555-5555">+1 (555) 555-5555</a>
</div>
<div data-role="footer" data-position="fixed">
footer content
</div>
</div>
</body>
</html>
在移動設備上,有協議處理程序可以啟動手機。 根據安全性的不同,有些人會撥打電話,或者其他人會使用已存在號碼的電話應用程序。
我還認為語法應該如下
<a href="tel:+15555555555">+1 (555) 555-5555</a>
希望這可以幫助!
問候。
Shreerang
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.