XMLHttpRequest

来源:互联网 发布:淘宝店主寄语文艺 编辑:程序博客网 时间:2024/06/05 23:50
PropertyDescriptiononreadystatechangeStores a function (or the name of a function) to be called automatically each time the readyState property changesreadyStateHolds the status of the XMLHttpRequest. Changes from 0 to 4: 
0: request not initialized 
1: server connection established
2: request received 
3: processing request 
4: request finished and response is readystatus200: "OK"
404: Page not found
0 0