jQuery Ajax not working - meaning of response status code 0

I would like to use a jQuery Ajax function, but for some reason it is not working. I am getting response status code 0. Do you have any ideas why there is status code 0 ?
0
give a positive ratinggive a negative rating
17 Jul 2021 at 02:50 PM
Hi,

There are multiple reasons why response status code is 0, but it means that request is not being sent to the server.

Possible reasons are:

  • Ajax request is not correct (there can be an error)
  • Requesting URL is unreachable
  • Request is interrupted (for example because browser navigates away from the page)
0
give a positive ratinggive a negative rating
18 Sep 2022 at 07:14 PM
Tim
Share on FacebookShare on TwitterShare on LinkedInSend email
x
x
2024 AnswerTabsTermsContact us