diff --git a/select2-latest.html b/select2-latest.html index 2b74608a..dc31dfc3 100644 --- a/select2-latest.html +++ b/select2-latest.html @@ -580,7 +580,7 @@ $("#e8_get2").click(function () { alert("Selected data is: "+JSON.stringify($("# $("#e8_set2").click(function () { $("#e8").select2("data", {id: "CA", text: "California"}); }); $("#e8_open").click(function () { $("#e8").select2("open"); }); $("#e8_close").click(function () { $("#e8").select2("close"); }); -$("#e8_2").select2(); +$("#e8_2").select2({placeholder: "Select a state"}); $("#e8_2_get").click(function () { alert("Selected value is: "+$("#e8_2").select2("val"));}); $("#e8_2_set").click(function () { $("#e8_2").select2("val", ["CA","MA"]); }); $("#e8_2_get2").click(function () { alert("Selected value is: "+JSON.stringify($("#e8_2").select2("data")));}); @@ -615,7 +615,7 @@ $("#e8_2_close").click(function () { $("#e8_2").select2("close"); });
-
+
Fired when query function is done loading the data and the results list has been updated
+ +The event object contains the following custom properties: +