|
|
HTML_AJAX
Introduction
API
Event Handlers
- Send : Called when the request is sent to the server
- Load : Called when the result is loaded in the browser
- onError : Called when an error happens
Properties
- defaultServerUrl : Url to use when making method calls from the js api
- defaultEncoding : Encoding to use when sending data, default value = 'JSON', used by fullCall, Call
- queues : A hash of possible queues, default value = {'default': HTML_AJAX_Queue_Immediate}
- clientPools : A hash containing the possible clientPool objects, normally just the default pool is used, see method httpClient
Methods
- httpClient(name) : name is optional, returns a instance of HTML_AJAX_HttpClient
- makeRequest(request): Make a request defined by the passed in HTML_AJAX_Request object
- serializerForEncoding(encoding): get a serializer object for the given encoding. Possible values are: Null, JSON, Error, PHP, Urlencoded
- fullcall(url,encoding,className,method,callback,args, options) :
- callPhpCallback:(phpCallback, jsCallback, url) :
- call(className,method,callback) :
- post(url,payload,callback,options) :
- replace(id,url) or (id,class,method) :
- append(id,url) or (id,class,method) :
- formEncode(form, array_format) :
- formSubmit(form, target, options) :
- makeFormAJAX(form,target,options) :
Notes
This site powered by YaWiki 0.22 beta.
|
|