简体   繁体   English

javascript脚本可在Firefox,Chrome,Safari,Internet Explorer <9,而不是IE 9中运行

[英]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.

相关问题 JavaScript可在Chrome,IE和Safari中使用,但在Firefox中无法 - JavaScript works in Chrome, IE and Safari but not in Firefox Javascript书签可在Chrome / Safari中运行,但不能在Firefox / IE中运行 - Javascript Bookmarklet Works in Chrome/Safari but not Firefox/IE Javascript适用于Firefox,Chrome和Safari,但不适用于IE - Javascript works in Firefox, Chrome and Safari but not in IE Facebook连接。 适用于Firefox / Internet Explorer,不适用于Chrome / Safari / Opera - Facebook connect. Works in Firefox/Internet Explorer, not in Chrome/Safari/Opera javascript 代码在 firefox 和 chrome 中工作,但在 safari 和 IE 资源管理器中不起作用 - javascript code work in firefox and chrome but not in safari and IE explorer Javascript打印弹出窗口适用于Firefox / Chrome但不适用于Internet Explorer - Javascript printing a popup window works in Firefox/Chrome but not Internet Explorer Internet Explorer的Javascript问题,在谷歌浏览器中可以正常工作,但在ie - Javascript issue with internet explorer, works fine in google chrome but not in ie, 嵌入可在Firefox和Safari中使用,但不能在Internet Explorer 8中使用 - Embed works in Firefox and Safari, but not in Internet Explorer 8 javascript表单元格显示在IE和Firefox中有效,但在Chrome和Safari中不可用 - javascript table cell display works in IE and Firefox but not in Chrome and Safari JS幻灯片可以在Firefox和Chrome上运行,但不能在Internet Explorer上运行吗? - JS slideshow works on firefox and chrome but not internet explorer?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM