5.4. Ajax options members (Prototype)

Member Type
method
String='post'
parameters
String=''
aynchronous
Boolean=true
postBody
String
requestHeaders
Array
onComplete
Function(request::XMLHttpRequest,header::Object} -> undefined
onLoaded
Function(request::XMLHttpRequest,header::Object} -> undefined
onLoading
Function(request::XMLHttpRequest,header::Object} -> undefined
onInteractive
Function(request::XMLHttpRequest,header::Object} -> undefined
onUninitialized
Function(request::XMLHttpRequest,header::Object} -> undefined
onSuccess
Function(request::XMLHttpRequest,header::Object} -> undefined
onFailure
Function(request::XMLHttpRequest,header::Object} -> undefined
onException
Function(request::XMLHttpRequest,exception::Object} -> undefined
insertion
Insertion
evalScripts
Boolean=false
decay
Number=1

Get Prototype and Scriptaculous: Taking the Pain out of JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.