From 8454f34cb6b6dd45844aa1c367285c402c6629a3 Mon Sep 17 00:00:00 2001 From: Ermish Date: Thu, 26 Jun 2014 18:31:17 -0400 Subject: [PATCH] Added formatAjaxError documentation Added formatAjaxError documentation --- select2-latest.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/select2-latest.html b/select2-latest.html index 6986f284..e1a7c087 100644 --- a/select2-latest.html +++ b/select2-latest.html @@ -1331,6 +1331,21 @@ format(item) { <returns>stringMessage html or null/undefined to disable the message. + + formatAjaxErrorstring/function + String containing "Loading Failed" message, or
+ Function used to render the message +
formatAjaxError(jqXHR, textStatus, errorThrown)
+ + + + + + +
ParameterTypeDescription
jqXHRobjectThe XMLHttpRequest object.
textStatusstringAjax request status text.
errorThrownstringServer response status text.
<returns>stringMessage html.
+

For more info on the parameters, refer to the JQuery API Documentation. +

+ formatInputTooShortstring/function String containing "Search input too short" message, or
Function used to render the message.