Error type

the user pressed Esc or navigated to other page), you can check the XHR. status property, if the request has been aborted the. You can try using alert( xhr. responseText) ; or console. responseText) ; ( the later will show up in your browser console e. firebug) in your error callback, doing so you can get the message associated with the exception. 送信］ ボタンをクリック時の処理を定義 function send( ) { / / 非同期通信を行うための XMLHttpRequestオブジェクトを生成 try { xmlReq = new. status, HTTP応答 ステータスコードを取得（ 200＝ 成功， 500＝ 内部サーバーエラー， など）. After making the connection easier ( directly and not via a proxy), there was an error in the errorlog. It said that the endpoint wasn' t right, but this seemed okay.