Ajax won't get past readyState 1, why?

前端 未结 5 1335
轻奢々
轻奢々 2020-12-09 19:15

I\'m trying to get this function to work, which does a request for parameter url then sends the responseText to callback which is a function.

5条回答
  •  情书的邮戳
    2020-12-09 20:13

    Check that the URL in question does actually respond by visiting it directly in the browser.

    Test with a different browser do you get the same result.

    Use some form of HTTP monitor to watch the client to server conversation (my favorite is Fiddler)

提交回复
热议问题