IE7- $.ajax worked on localhost, but on server? Nooooo
I swear, I didn't change a thing when moving my site from my production work station to our server, but then, my IE 7 doesn't execute the $.ajax functions all of a sudden? What the deuce?
Something as simple as this:
-
function logOff() {
$.ajax({
type: "POST",
url: "/logoff.asp",
success: function(msg){
alert(msg);
}
});
}
doesn't do aaaanything in IE7, but in all other browsers it works like a charm! Even if I add a cache-buster like math.random() = nothing!
I can't imagine it beeing a server issue, but on the other hand DID the problem first occur when I moved it from my computer to my server..