Javascript 这个.blur()没有';我不为手机工作

Javascript 这个.blur()没有';我不为手机工作,javascript,html,css,button,blur,Javascript,Html,Css,Button,Blur,我想在单击按钮[type=button]后移除焦点。为了实现这一点,我正在使用: <button type="button" onfocus="this.blur();">Click here</button> 点击这里 这在笔记本电脑和个人电脑上运行正常,但在移动设备上不起作用。是否有人知道如何删除移动设备的焦点?将此内容放入按钮元素: style=“outline:none;-moz outline:none”hidefocus=“true”只需找到另一个元素并对

我想在单击按钮[type=button]后移除焦点。为了实现这一点,我正在使用:

<button type="button" onfocus="this.blur();">Click here</button>
点击这里

这在笔记本电脑和个人电脑上运行正常,但在移动设备上不起作用。是否有人知道如何删除移动设备的焦点?

将此内容放入按钮元素:
style=“outline:none;-moz outline:none”hidefocus=“true”

只需找到另一个元素并对其应用
focus()
?如果要在单击后移除焦点,为什么不使用单击事件?这也不起作用