我是网络开发的新手,如果我在问题中遗漏了任何内容,请告诉我。
鉴于JS代码不适用于IE 11(Windows 2016 Server),它在其他浏览器上工作正常,并在我的屏幕上给我提醒。
<div class="col-xs-3 text-center"> <a class="my_env_template dashboard-link" onclick="alert(123)"> <span class="fa fa-2x dashboard-icon fa-clone" id="env_pref" aria-hidden="true"></span><br> Open Templates </a> </div>预计:我期待屏幕上有警报。
请注意我使用默认设置运行Windows 2016服务器和IE,我没有在服务器或浏览器配置上进行任何更改。
I am new in web development, let me know if I missed anything in my question.
Given JS code do not work on IE 11 (Windows 2016 Server), it is working fine on other browsers and giving me alert on my screen.
<div class="col-xs-3 text-center"> <a class="my_env_template dashboard-link" onclick="alert(123)"> <span class="fa fa-2x dashboard-icon fa-clone" id="env_pref" aria-hidden="true"></span><br> Open Templates </a> </div>Expected: I was expecting Alert on my screen.
Please note that I'm running Windows 2016 server & IE with default settings, I did not change anything on server or browser configurations.
最满意答案
检查javascript是否启用ie。 https://www.whatismybrowser.com/guides/how-to-enable-javascript/internet-explorer
Check javascript is enable in ie. https://www.whatismybrowser.com/guides/how-to-enable-javascript/internet-explorer
更多推荐
Windows,IE,class,电脑培训,计算机培训,IT培训"/> <meta name="description&
发布评论