Ta Ajax Options
fun TaAjaxOptions(url: String? = null, preprocessQuery: (String) -> dynamic? = null, preprocessData: (dynamic) -> Array<String>? = null, beforeSend: (JQueryXHR, JQueryAjaxSettings) -> dynamic? = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, processData: Boolean = true)
Content copied to clipboard
Parameters
url
the url address
preprocess Query
a function to process query string for sending
preprocess Data
a function to process received data
before Send
JQuery ajax.beforeSend option
http Type
JQuery ajax.type option
data Type
JQuery ajax.dataType option
process Data
JQuery ajax.processData option