JQuery.get()不会在IE中运行

JQuery.get()不会在IE中运行,jquery,internet-explorer-9,Jquery,Internet Explorer 9,我有这些在Firefox和Chrome中运行良好的例程,但在IE9中根本不运行。有什么建议吗?谢谢 function testSimpleGet() { $.get("http://localhost/Notifications/version", function(data){ alert("Data Loaded: " + data); }); }; $(document).ready(function(){ testSimpleGet(); /* S

我有这些在Firefox和Chrome中运行良好的例程,但在IE9中根本不运行。有什么建议吗?谢谢

function testSimpleGet() {
    $.get("http://localhost/Notifications/version", function(data){
    alert("Data Loaded: " + data);
    });  
}; 

$(document).ready(function(){
    testSimpleGet(); /* Start the inital request */
});

“但不要在IE9中运行”,这样就根本不会调用您的
testSimpleGet
函数了?你确定吗?这是我们的错误吗?我们讨厌这里的“它不起作用”类型的问题..,我猜
$。明白了吗(…
正在被发送,但IE9与
localhost
有一些同源策略问题。不过这只是猜测。我相信在Fiddler中。在IE中运行时,我看不到到达指定url的路径。我将查看同源策略。@user576072:运行此操作的页面也应该位于
http://localhost