diff --git a/select2-latest.html b/select2-latest.html index b288a9c4..a74948fb 100644 --- a/select2-latest.html +++ b/select2-latest.html @@ -1555,12 +1555,12 @@ $("#select").select2({ resultsfunction Function used to build the query results object from the ajax response -
results(data, page)
+
results(data, page, query)
- +
ParameterTypeDescription
dataobjectRetrieved data.
pageintPage number that was passed into the data function above.
contextobjectSee options.context parameter to the query function above.
queryobjectThe query object used to request this set of results.
<returns>objectResults object. See "options.callback" in the "query" function for format.