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.