屬性:
activeRequestCount
函式:
getTransport()
Ajax.Responders
這是個Gobal物件,故無論在程式中使用了多少個Ajax.Request或是Ajax.Updater物件,都可以用同一份回應函式來處理結果。
函式:
register():註冊新的回應函式
unregister():取消已註冊的回應函式。
Ajax.Base
屬性:
method
parameters
asynchronous
requestHeader
postBody
onxxxxxxx:onUninitialization, onLoading, onLoaded, onInteractive, onComplete
onSuccess,onFailure
onException
函式:
setOptions()
responseIsSuccess()
responseIsFailure()
Ajax.Request
屬性:
transport
url
函式:
建構子(url, options)
Ajax.Update
屬性:
evalScripts:設為True時,Ajax.Updater物件會自動執行任保回傳內容中script區塊
函式:
建構子(container,url,options)
Ajax.PeriodicalUpdater
函式:
建構子(container,url,options)
start()
stop()

參考書目:Ajax網頁程式設計 Google成功背後的技術
沒有留言:
張貼留言