diff --git a/example.html b/example.html index 4225274..a37a163 100644 --- a/example.html +++ b/example.html @@ -1209,6 +1209,14 @@
Note: on single selects, the first element is assumed to be selected by the browser. To take advantage of the default text support, you will need to include a blank option as the first element of your select list.
+Setting the "No results" search text is as easy as passing an option when you create Chosen:
+
+ New Chosen($("chzn_select_field"),{no_results_text: "No results matched"});
+
+ Chosen supports right to left select boxes too. just add "chzn-rtl"
in addition to "chzn-select"
to your select tags and you are good to go.
<select data-placeholder="Choose a country..." style="width:350px;" multiple class="chzn-select">
Note: on single selects, the first element is assumed to be selected by the browser. To take advantage of the default text support, you will need to include a blank option as the first element of your select list.
Setting the "No results" search text is as easy as passing an option when you create Chosen:
+
+ $(".chzn-select").chosen({no_results_text: "No results matched"});
+
+