extensions.ajax

Creates an ajax call function.

mixintemplate extensions()
void
ajax
(
HTTPMethod method
,
string name
,
string url
,,)

Parameters

method HTTPMethod

The method of the ajax call.

name string

The name of the call.

url string

The url of the call.

prepareFunction string

The function to call when preparing the request.

callbackFunction string

The function to call after the request has finished.

Meta