diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
commit | 97065b2e68dd8768dc1ea092c893c57ebe205026 (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-tw/web/api/xmlhttprequest/index.html | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
download | translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.gz translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.bz2 translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.zip |
use class="hidden" not style="display:none"
Diffstat (limited to 'files/zh-tw/web/api/xmlhttprequest/index.html')
-rw-r--r-- | files/zh-tw/web/api/xmlhttprequest/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-tw/web/api/xmlhttprequest/index.html b/files/zh-tw/web/api/xmlhttprequest/index.html index 3258579e62..35d87072c6 100644 --- a/files/zh-tw/web/api/xmlhttprequest/index.html +++ b/files/zh-tw/web/api/xmlhttprequest/index.html @@ -111,7 +111,7 @@ translation_of: Web/API/XMLHttpRequest <dd>初始化一個請求。此方法用於 JavaScript 中;若要在 native code 中初始化請求,請以 <a class="internal" href="/zh-TW/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIXMLHttpRequest#openRequest()"><code>openRequest()</code></a> 作為替代。</dd> <dt>{{domxref("XMLHttpRequest.overrideMimeType()")}}</dt> <dd>覆寫伺服器回傳的 MIME type。</dd> - <dt>{{domxref("XMLHttpRequest.send()")}}<span style="display: none;"> </span></dt> + <dt>{{domxref("XMLHttpRequest.send()")}}<span class="hidden"> </span></dt> <dd>發送請求。如果為非同步請求(預設值),此方法將在發出請求後便立即回傳(return)。</dd> <dt>{{domxref("XMLHttpRequest.setRequestHeader()")}}</dt> <dd>設定 HTTP 請求標頭(request header)值。<code>setRequestHeader()</code> 可被呼叫的時間點必須於 <a href="#open"><code>open()</code></a> 之後、在 <code>send()</code> 之前。</dd> |