From 207d44ba587183fe42ded6451675ea1857a543e9 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Wed, 7 Aug 2013 22:19:06 -0700 Subject: [PATCH] fix the docs. closes #1597 --- select2-latest.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2-latest.html b/select2-latest.html index 709f8ac4..47f9e8f5 100644 --- a/select2-latest.html +++ b/select2-latest.html @@ -1456,7 +1456,7 @@ $("#select").select2({ 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. urlstring/functionString containing the ajax url or a function that returns such a string. - dataTypestringData type for the request. ajax, jsonp, other formats supported by jquery + dataTypestringData type for the request. xml, json, jsonp, other formats supported by jquery quietMillisintNumber of milliseconds to wait for the user to stop typing before issuing the ajax request cachebooleanIf set to false, it will force requested pages not to be cached by the browser. Default is false jsonpCallbackstring/functionThe callback function name for a JSONP request. This value will be used instead of the random name automatically generated by jQuery. It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling. You may want to specify the callback when you want to enable better browser caching of GET requests.