Ajax post being aborted by firefox (not seen in Chrome or IE)

前端 未结 8 519
再見小時候
再見小時候 2020-12-06 04:37

When using firefox, an ajax post request i have is being reported as aborted in firebug. The ajax post works fine in IE and Chrome. It is not a cross domain request. I tr

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-06 05:23

    This is either a cross domain issue or it is an issue with Firefox aborting your request because request is async. For cross domain you can check the origin of your request and what is allowed on webservice. You might have to read up on CORS.

    If it is not cross domain then it is certainly a problem with request being async. Just change it to sync.

提交回复
热议问题