Ajax won't get past readyState 1, why?

前端 未结 5 1318
轻奢々
轻奢々 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:05

    Possibly the Ajax request doesn't return data (so, a server side error of some kind). Try enabling the option 'show XMLHttpRequests' in the firebug console, to check for this.

提交回复
热议问题