O'Reilly logo

Prototype and Scriptaculous: Taking the Pain out of JavaScript by Chris Angus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required