Jquery Ajax, not working in Internet explorer

前端 未结 2 1264
小鲜肉
小鲜肉 2020-12-20 04:03

I\'m trying to do some jQuery ajax and it works in Firfox and Chrome, but not in internet explorer 9.

The final code will have to go across sub-domains, and this doe

2条回答
  •  Happy的楠姐
    2020-12-20 04:23

    On the http://services.whygo.net/sendAjax2.html page, I see that you've got the expected dataType of the AJAX response coming back from the server as JSON, but the response actually comes back as a plain text string ("Email successfully sent.").

    Perhaps you could try commenting out dataType and let jQuery figure out what type of response comes back.

提交回复
热议问题