AZ AJAX

var _azAjaxOptions =
{
    azAjaxUrl: "",
    azAjaxDataType: "json",
    azAjaxType: "POST",
    azAjaxContentType: "application/json; charset=utf-8",
    azAjaxObjHeaders: {},
    azAjaxTimeout: 15000,
    azAjaxObjToSend: {},
    azAjaxExceptionAction: "silent",
    azAjaxExceptionErrorText: ""
};

initAZAjax(_azAjaxOptions).done(function (data)
{
});

azAjaxUrl Type: String Default: ""

azAjaxDataType Type: String Default: "json"
Datatypen du forventer tilbake fra serveren. Andre alternativer: "jsonp" - "xml" - "script" - "html"
azAjaxType Type: String Default: "POST"
Andre alternativer: "GET" - "PUT" - "DELETE" - "POST"
azAjaxContentType Type: String eller Boolean Default: "application/json; charset=utf-8"
Datatypen du sender til serveren. Se også azAjaxObjToSend
azAjaxObjHeaders Type: Object Default: {}

azAjaxTimeout Type: Integer Default: 15000 Unit: milliseconds

azAjaxObjToSend Type: Object Default: {}

azAjaxExceptionAction Type: String Default: "silent"
Andre alternativer: "dialog"
azAjaxExceptionErrorText Type: String Default: ""