diff --git a/index.html b/index.html index cb19348b..27a7d1ec 100755 --- a/index.html +++ b/index.html @@ -633,6 +633,31 @@ $("#e13_ak_co").click(function() { $("#e13").val(["AK","CO"]).trigger("change"); +
+ +
+

Select2 Lifecycle

+ +

+ +

+


+

+

+
+
+

Example Code

+
+           
+
+
+ @@ -902,6 +927,11 @@ $("#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.

+

Events

diff --git a/select2-master b/select2-master index c8b274e9..1faea146 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit c8b274e9abec3ed825c91b517c3124bb62a31fad +Subproject commit 1faea146d492cc2fd13ba2195fcd9bb3f65d5237