Try putting an 'error' callback function also into the ajax options to
see if it's falling in there. Maybe something else is affecting it. Do
you have any other ajax options set elsewhere on the script?

On Mar 3, 3:37 am, MorningZ <morni...@gmail.com> wrote:
> Use Fiddler (http://www.fiddlertool.com) to see what IE is seeing as a
> response from the post
>
> 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..?? :(
>
>

Reply via email to