Javascript html图像onclick在移动浏览器上不起作用
此代码在计算机浏览器中运行时工作正常,但在移动浏览器上运行时不工作,无法识别onclick事件:Javascript html图像onclick在移动浏览器上不起作用,javascript,html,jsp,Javascript,Html,Jsp,此代码在计算机浏览器中运行时工作正常,但在移动浏览器上运行时不工作,无法识别onclick事件: <div align="center" style="float:right; padding-top:5%; margin-right:20%;"> <input type="image" src="images/btn_rgest.png" style="width:100%;" onclick="check_phone();return false;"/> &l
<div align="center" style="float:right; padding-top:5%; margin-right:20%;">
<input type="image" src="images/btn_rgest.png" style="width:100%;" onclick="check_phone();return false;"/>
</div>
我也尝试过启动事件,但也不起作用。
有什么帮助吗?这可能对您很有帮助。它的onClick=typo在您的代码中。