readyStateについて
1197 ワード
DOM readyState uninitializedはまだ ロードを開始していません. loadingロード中 interactiveはすでに をロードしました. completteeのロードが完了しました. ajax readyState(Uniitialized):The Object has been created but the open()method hasn’t been caled. 1(Loading):The open()method has been caled but the request hasn’t been sent. (Loaded):The request has been sent. (Interactive).A partial reponse has been received. (Compplete):All data has been received and the connection has been closed.
function log() {
try{
console.log.apply(console, arguments);
}catch(e) {
try{
opera.postError.apply(opera, arguments);
}catch(e) {
alert([].join.call(arguments, ''))
}
}
}