diff --git a/index.html b/index.html index c98c57ce..cb19348b 100755 --- a/index.html +++ b/index.html @@ -499,7 +499,7 @@ $("#e10_3").select2({

Example Code


-              

Select2 uses jQuery's $.ajax function to execute the remote call. If you would like to use another transport you can specify your own query function instead of using the ajax helper.

+

Select2 uses jQuery's $.ajax function to execute the remote call by default. An alternative transport function can be specified in the ajax settings, or an entirely custom implementation can be built by providing a custom query function instead of using the ajax helper

@@ -828,6 +828,8 @@ $("#tags").select2({ + diff --git a/select2-master b/select2-master index 54033cdb..c8b274e9 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 54033cdb0422ef7cc5c35ff5e94e3034a0539df5 +Subproject commit c8b274e9abec3ed825c91b517c3124bb62a31fad
ParameterTypeDescription
transportfunctionFunction that will be used to perform the ajax request. Must be parameter-compatible with $.ajax. Defaults to $.ajax if not specified. + Allows the use of various ajax wrapper libraries such as: AjaxManager.
urlstringAjax url
dataTypestringtData type for the request. ajax, jsonp, other formats supported by jquery
quietMillisintNumber of milliseconds to wait for the user to stop typing before issuing the ajax request