[英]javascript script works in Firefox, Chrome, Safari, Internet Explorer < 9, but not in IE 9
I'm using this script in a website: http://www.dhtmlgoodies.com/index.html?whichScript=quiz-maker 我在网站上使用此脚本: http : //www.dhtmlgoodies.com/index.html?whichScript=quiz-maker
It allows to easily make quizs. 它可以轻松进行测验。 The issue is that it works in every browser but IE 9, and I really need to make it work (or at least try).
问题是它可以在除IE 9之外的所有浏览器中使用,而我确实需要使其起作用(或至少尝试使用)。
My problem is that I don't know where to start looking in the code of that script for a solution, and I was hoping that someone could give me a clue or point me in the right direction. 我的问题是,我不知道从哪里开始寻找该脚本的代码以寻求解决方案,我希望有人可以给我一个线索或为我指明正确的方向。 Maybe there's a known IE 9 bug that I'm not aware of or something like that.
也许有一个我不知道的已知IE 9错误或类似的错误。
Here's an example of the same script in a test page that I've made with it: http://s337174121.onlinehome.us/tests/quiz/ 这是我在测试页中使用的同一脚本的示例: http : //s337174121.onlinehome.us/tests/quiz/
Any help would be much appreciated! 任何帮助将非常感激!
Your version of MooTools is out of date. 您的MooTools版本已过期。 It's probable that it's not recognising that IE9 does not support the "hack" of
document.createElement('<input type="radio" name="xyz">')
that older versions of IE were stuck with. 很有可能无法识别IE9不支持旧版本IE所停留的
document.createElement('<input type="radio" name="xyz">')
的“ hack”。
Try updating your copy of MooTools. 尝试更新您的MooTools副本。
Have a look at the errors reported in F12 developer tools console: 查看F12开发人员工具控制台中报告的错误:
SEC7111: HTTPS security is compromised by https://api.twitter.com/xd_receiver.html
index.html?whichScript=quiz-maker
SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5)
mootools-1.2.4-core-yc.js, line 122 character 47
I would suggest trying to solve those errors first, before progressing. 我建议先尝试解决这些错误,然后再进行操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.