From 67d71754c4ed79e7eeaef3542b9ce62259a448c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=81nis=20Peisenieks?= Date: Wed, 29 Oct 2014 15:52:48 +0200 Subject: [PATCH] Update documentation to include search parameter Update the documentation to add the search parameter, which was missing. This should not be buried in the source code, since this is a really useful function. --- index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 3bbe720b..af89c029 100644 --- a/index.html +++ b/index.html @@ -1758,7 +1758,12 @@ $("#select").select2({

Notifies Select2 that a drag and drop sorting operation has finished. Select2 will re-display any elements previously hidden and update the selection of the element it is attached to. Example: $("#tags").select2("onSortEnd");

- +
+

search

+
+

Executes a new search using the provided value. + Example: $("#tags").select2("search","California"); +

Events