[英]Href tag tel: not working
I know this question has been asked lot of times. 我知道这个问题已经被问过很多次了。 But I don't find a solution for my problem. 但是我找不到解决问题的方法。
I have a link like which I want to make an externall call from mobile view like this: 我有一个这样的链接,我想从移动视图进行这样的外部呼叫:
<a href="tel:902 1111 111">902 111 111</a>
But when I click on it, it's not working. 但是当我单击它时,它不起作用。 I'm using: Java ee , HTML , CSS to build my page. 我正在使用: Java ee , HTML , CSS来构建我的页面。 Any idea on why it's not working? 关于为什么它不起作用的任何想法吗?
The issue can be related to a click event handler which might be preventing the default behaviour of the link. 该问题可能与单击事件处理程序有关,该事件处理程序可能阻止了链接的默认行为。 For example, return:false
in the end of the handler might be preventing this behaviour. 例如,处理程序末尾的return:false
可能阻止了此行为。 Try checking that and remove it. 尝试检查并删除它。 This should fix the problem. 这应该可以解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.