aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/xmlhttprequesteventtarget
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/xmlhttprequesteventtarget')
-rw-r--r--files/ja/web/api/xmlhttprequesteventtarget/onabort/index.html63
-rw-r--r--files/ja/web/api/xmlhttprequesteventtarget/onerror/index.html61
-rw-r--r--files/ja/web/api/xmlhttprequesteventtarget/onload/index.html61
-rw-r--r--files/ja/web/api/xmlhttprequesteventtarget/onloadstart/index.html61
-rw-r--r--files/ja/web/api/xmlhttprequesteventtarget/onprogress/index.html73
5 files changed, 0 insertions, 319 deletions
diff --git a/files/ja/web/api/xmlhttprequesteventtarget/onabort/index.html b/files/ja/web/api/xmlhttprequesteventtarget/onabort/index.html
deleted file mode 100644
index c6a48aa880..0000000000
--- a/files/ja/web/api/xmlhttprequesteventtarget/onabort/index.html
+++ /dev/null
@@ -1,63 +0,0 @@
----
-title: XMLHttpRequestEventTarget.onabort
-slug: Web/API/XMLHttpRequestEventTarget/onabort
-tags:
- - API
- - Property
- - Reference
- - Web
- - XHMLHttpRequestEventTarget
- - イベントハンドラ
-translation_of: Web/API/XMLHttpRequestEventTarget/onabort
----
-<div>{{APIRef("XMLHttpRequest")}}</div>
-
-<p><strong><code>XMLHttpRequestEventTarget.onabort</code></strong> は、 {{domxref("XMLHttpRequest.abort()")}} 関数が呼ばれたときなどの {{domxref("XMLHttpRequest")}} トランザクションが中止されたときに呼び出される関数です。</p>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<pre class="syntaxbox notranslate"><em>XMLHttpRequest</em>.onabort = <em>callback</em>;</pre>
-
-<h3 id="値">値</h3>
-
-<ul>
- <li><code><em>callback</em></code> は、トランザクションが中止されたときに実行される関数です。</li>
-</ul>
-
-<h2 id="Example" name="Example">例</h2>
-
-<pre class="brush: js notranslate">var xmlhttp = new XMLHttpRequest(),
- method = 'GET',
- url = 'https://developer.mozilla.org/';
-
-xmlhttp.open(<em>method</em>, <em>url</em>, true);
-xmlhttp.onabort = function () {
- console.log('** The request was aborted');
-};
-xmlhttp.send();
-//..
-xmlhttp.abort(); // This will invoke our onabort handler above
-</pre>
-
-<h2 id="仕様">仕様</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様</th>
- <th scope="col">ステータス</th>
- <th scope="col">備考</th>
- </tr>
- <tr>
- <td>{{SpecName('XMLHttpRequest', '#handler-xhr-onabort')}}</td>
- <td>{{Spec2('XMLHttpRequest')}}</td>
- <td>WHATWG living standard</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="ブラウザーの互換性">ブラウザーの互換性</h2>
-
-
-
-<p>{{Compat("api.XMLHttpRequestEventTarget.onabort")}}</p>
diff --git a/files/ja/web/api/xmlhttprequesteventtarget/onerror/index.html b/files/ja/web/api/xmlhttprequesteventtarget/onerror/index.html
deleted file mode 100644
index 0735301636..0000000000
--- a/files/ja/web/api/xmlhttprequesteventtarget/onerror/index.html
+++ /dev/null
@@ -1,61 +0,0 @@
----
-title: XMLHttpRequestEventTarget.onerror
-slug: Web/API/XMLHttpRequestEventTarget/onerror
-tags:
- - API
- - Property
- - Reference
- - Web
- - XMLHttpRequestEventTarget
- - イベントハンドラ
-translation_of: Web/API/XMLHttpRequestEventTarget/onerror
----
-<div>{{APIRef("XMLHttpRequest")}}</div>
-
-<p><strong><code>XMLHttpRequestEventTarget.onerror</code></strong> は、エラーの為に {{domxref("XMLHttpRequest")}} トランザクションが失敗した場合に呼び出される関数です。</p>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<pre class="syntaxbox notranslate"><em>XMLHttpRequest</em>.onerror = <em>callback</em>;</pre>
-
-<h3 id="値">値</h3>
-
-<ul>
- <li><code><em>callback</em></code> は、リクエストが失敗した場合に実行される関数です。</li>
-</ul>
-
-<h2 id="Example" name="Example">例</h2>
-
-<pre class="brush: js notranslate">var xmlhttp = new XMLHttpRequest(),
- method = 'GET',
- url = 'https://developer.mozilla.org/';
-
-xmlhttp.open(<em>method</em>, <em>url</em>, true);
-xmlhttp.onerror = function () {
- console.log("** An error occurred during the transaction");
-};
-xmlhttp.send();
-</pre>
-
-<h2 id="仕様">仕様</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様</th>
- <th scope="col">ステータス</th>
- <th scope="col">備考</th>
- </tr>
- <tr>
- <td>{{SpecName('XMLHttpRequest', '#handler-xhr-onerror')}}</td>
- <td>{{Spec2('XMLHttpRequest')}}</td>
- <td>WHATWG living standard</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="ブラウザーの互換性">ブラウザーの互換性</h2>
-
-
-
-<p>{{Compat("api.XMLHttpRequestEventTarget.onerror")}}</p>
diff --git a/files/ja/web/api/xmlhttprequesteventtarget/onload/index.html b/files/ja/web/api/xmlhttprequesteventtarget/onload/index.html
deleted file mode 100644
index f208d27499..0000000000
--- a/files/ja/web/api/xmlhttprequesteventtarget/onload/index.html
+++ /dev/null
@@ -1,61 +0,0 @@
----
-title: XMLHttpRequestEventTarget.onload
-slug: Web/API/XMLHttpRequestEventTarget/onload
-tags:
- - API
- - Property
- - Reference
- - Web
- - XMLHttpRequestEventTarget
- - イベントハンドラ
-translation_of: Web/API/XMLHttpRequestEventTarget/onload
----
-<div>{{APIRef("XMLHttpRequest")}}</div>
-
-<p><strong><code>XMLHttpRequestEventTarget.onload</code></strong> は、 {{domxref("XMLHttpRequest")}} トランザクションが正常に完了した場合に呼び出される関数です。</p>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<pre class="syntaxbox notranslate"><em>XMLHttpRequest</em>.onload = <em>callback</em>;</pre>
-
-<h3 id="値">値</h3>
-
-<ul>
- <li><code><em>callback</em></code> は、リクエストが正常に実行完了した場合に実行される関数です。最初の引数として {{domxref("ProgressEvent")}} オブジェクトを受け取ります。 <em>this</em> の値 (つまり、このコンテキスト) は、この callback が関連付けられている {{domxref("XMLHttpRequest")}} と同じです。</li>
-</ul>
-
-<h2 id="Example" name="Example">例</h2>
-
-<pre class="brush: js notranslate">var xmlhttp = new XMLHttpRequest(),
- method = 'GET',
- url = 'https://developer.mozilla.org/';
-
-xmlhttp.open(<em>method</em>, <em>url</em>, true);
-xmlhttp.onload = function () {
- // Do something with the retrieved data ( found in xmlhttp.response )
-};
-xmlhttp.send();
-</pre>
-
-<h2 id="仕様">仕様</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様</th>
- <th scope="col">ステータス</th>
- <th scope="col">備考</th>
- </tr>
- <tr>
- <td>{{SpecName('XMLHttpRequest', '#handler-xhr-onload')}}</td>
- <td>{{Spec2('XMLHttpRequest')}}</td>
- <td>WHATWG living standard</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="ブラウザーの互換性">ブラウザーの互換性</h2>
-
-
-
-<p>{{Compat("api.XMLHttpRequestEventTarget.onload")}}</p>
diff --git a/files/ja/web/api/xmlhttprequesteventtarget/onloadstart/index.html b/files/ja/web/api/xmlhttprequesteventtarget/onloadstart/index.html
deleted file mode 100644
index 606959a180..0000000000
--- a/files/ja/web/api/xmlhttprequesteventtarget/onloadstart/index.html
+++ /dev/null
@@ -1,61 +0,0 @@
----
-title: XMLHttpRequestEventTarget.onloadstart
-slug: Web/API/XMLHttpRequestEventTarget/onloadstart
-tags:
- - API
- - Property
- - Reference
- - Web
- - XMLHttpRequestEventTarget
- - イベントハンドラ
-translation_of: Web/API/XMLHttpRequestEventTarget/onloadstart
----
-<div>{{APIRef("XMLHttpRequest")}}</div>
-
-<p><strong><code>XMLHttpRequestEventTarget.onloadstart</code></strong> は、 {{domxref("XMLHttpRequest")}} トランザクションがデータ転送を開始するときに呼び出される関数です。</p>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<pre class="syntaxbox notranslate"><em>XMLHttpRequest</em>.onloadstart = <em>callback</em>;</pre>
-
-<h3 id="値">値</h3>
-
-<ul>
- <li><code><em>callback</em></code> は、トランザクションがデータ転送を開始したときに呼び出される関数です。</li>
-</ul>
-
-<h2 id="Example" name="Example">例</h2>
-
-<pre class="brush: js notranslate">var xmlhttp = new XMLHttpRequest(),
- method = 'GET',
- url = 'https://developer.mozilla.org/';
-
-xmlhttp.open(<em>method</em>, <em>url</em>, true);
-xmlhttp.onloadstart = function () {
- console.log("Download underway");
-};
-xmlhttp.send();
-</pre>
-
-<h2 id="仕様">仕様</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様</th>
- <th scope="col">ステータス</th>
- <th scope="col">備考</th>
- </tr>
- <tr>
- <td>{{SpecName('XMLHttpRequest', '#handler-xhr-onloadstart')}}</td>
- <td>{{Spec2('XMLHttpRequest')}}</td>
- <td>WHATWG living standard</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="ブラウザーの互換性">ブラウザーの互換性</h2>
-
-
-
-<p>{{Compat("api.XMLHttpRequestEventTarget.onloadstart")}}</p>
diff --git a/files/ja/web/api/xmlhttprequesteventtarget/onprogress/index.html b/files/ja/web/api/xmlhttprequesteventtarget/onprogress/index.html
deleted file mode 100644
index 7973898e1f..0000000000
--- a/files/ja/web/api/xmlhttprequesteventtarget/onprogress/index.html
+++ /dev/null
@@ -1,73 +0,0 @@
----
-title: XMLHttpRequestEventTarget.onprogress
-slug: Web/API/XMLHttpRequestEventTarget/onprogress
-tags:
- - Property
- - Reference
- - Web
- - XHR
- - XMLHttpRequestEventTarget
- - イベントハンドラ
-translation_of: Web/API/XMLHttpRequestEventTarget/onprogress
----
-<p>{{APIRef("XMLHttpRequest")}}</p>
-
-<p><strong><code>XMLHttpRequestEventTarget.onprogress</code></strong> は、正常に成功する前に {{domxref("XMLHttpRequest")}} の情報を定期的に呼び出す関数です。</p>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-<pre class="notranslate"><em>XMLHttpRequest</em>.onprogress = <em>callback</em>;</pre>
-
-<h3 id="値">値</h3>
-
-<ul>
- <li><code><em>callback</em></code> は、リクエストが完了する前に定期的に呼び出される関数です。</li>
-</ul>
-
-<h3 id="Example" name="Example">イベント</h3>
-
-<ul>
- <li><em><code>event.loaded</code></em>  現在転送されているデータ量。</li>
- <li><em><code>event.total</code></em>  転送されるデータ総量。</li>
-</ul>
-
-<pre class="notranslate">XMLHttpRequest.onprogress = function (event) {
- event.loaded;
- event.total;
-};</pre>
-
-<h2 id="Example" name="Example">例</h2>
-
-<pre class="notranslate">var xmlhttp = new XMLHttpRequest(),
- method = 'GET',
- url = 'https://developer.mozilla.org/';
-
-xmlhttp.open(<em>method</em>, <em>url</em>, true);
-xmlhttp.onprogress = function () {
- //do something
-};
-xmlhttp.send();
-</pre>
-
-<h2 id="仕様">仕様</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様</th>
- <th scope="col">備考</th>
- <th scope="col">コメント</th>
- </tr>
- <tr>
- <td>{{SpecName('XMLHttpRequest', '#handler-xhr-onload')}}</td>
- <td>{{Spec2('XMLHttpRequest')}}</td>
- <td>WHATWG living standard</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="ブラウザーの互換性">ブラウザーの互換性</h2>
-
-
-
-<p>{{Compat("api.XMLHttpRequestEventTarget.onprogress")}}</p>