索引.html
<html>
<head>
<script type="text/javascript" src="/js/jcors-loader.js"></script>
<script>
JcorsLoader.load(
"js/jquery-1.8.0.js",
"/js/alertme.js",
function() {
$("#result").text("TEST OK");
}
);
</script>
</head>
<body>
<h1 id="result"></h1>
</body>
</html>
alertme.js
alert("Loaded");
这在 chrome 和 firefox 中运行良好,它显示“TEST OK”并弹出...但在 IE(7,8,9) 中没有消息或警报...任何帮助将不胜感激。