From d035c34b6819d42ff22ee8e939eff96ea858650e Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Fri, 13 Apr 2012 08:18:29 -0700 Subject: [PATCH] catch up to master --- index.html | 60 ++++++++++++++++++++++++++++++++------------------ select2-master | 2 +- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index ca8d14f7..cc63d810 100755 --- a/index.html +++ b/index.html @@ -175,18 +175,6 @@ $("#e7").select2({ }); - - +

Pragmatic Access

Select2 supports methods that allow pragmatic control of the componentL

+

+ + + + +


-

- - -

+

+ + + + +


-

- - -

Example Code

@@ -927,11 +933,21 @@ $("#tags").select2({ Example:
alert("Selected value is: "+$("#e8").select2("val")); $("#e8").select2("val", {id:"CA", text:"Califoria"});
-
+

destroy

Reverts changes to DOM done by Select2. Any selection done via Select2 will be preserved.

+
+

open

+
+

Opens the dropdown

+
+

close

+
+

Closes the dropdown

+ +

Events

diff --git a/select2-master b/select2-master index 578a8cb0..654d1bd3 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 578a8cb0daf7930767a519862862b95312a4bc8d +Subproject commit 654d1bd3b2c8db09277bc4f0bde2312edce610e3