2008-04-23
[AJAX][XMLHTTP] method property
- 3084
-
0
- Code▲J_AJAX
-
2011-01-12
方法

abort()
//取消目前正在進行的HTTP請求

getAllResponseeHeaders()
//取得所有hTTP回應標頭的內容

getResponseHeader()
//取得指定的HTTP回應標頭內容

open()
//以指定的請求方法、URL、安全資訊初始化請求物件

send()
//向網頁伺服器送出HTTP請求並接收回應

setRequestHeader()
//設定HTTP請求標頭
屬性

onReadyStateChange
//指定在readystate 屬性改變時觸發的事件處理器 (Read/Write)

readystate
//目前的請求狀態 (ReadOnly)

responseBody
//取得HTTP回應內容的管道之一 (ReadOnly)

responseStream
//取得HTTP回應內容的管道之一 (ReadOnly)

responseText
//以字串方式取得回應內容 (ReadOnly)

responseXML
//以XML格式取得回應內容 (ReadOnly)

status
//回應的狀態碼 (ReadOnly)

statusText
//回應的狀態訊息 (ReadOnly)