I had this trouble before, and after 2 hours, finally remembered what it was. IE needs to know that the xml returned is actually xml. It uses the header of the document to determine that, so you must set the header in the php/asp file to set it.
For PHP, include this before passing back the response: header('Content-type: text/xml'); In ASP: response.ContentType="text/xml" - Peace and good luck On Mar 3, 5:36 am, Kasper <kazz...@gmail.com> wrote: > 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..?? :(