[jQuery] .ajax doesn't execute "success" handler in IE7
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 "success" handler all of a sudden? What the deuce?
Something as simple as this:
Code:
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..
UPDATE!
It actually executes the ajax request, and does what logoff.asp should
do, but the success function is never run... what the..?? :(