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.

+

No Results Text Support

+
+

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"}); + +
+

Right to Left Support

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.

diff --git a/example.jquery.html b/example.jquery.html index 5fbb81d..7b607c1 100644 --- a/example.jquery.html +++ b/example.jquery.html @@ -1209,6 +1209,14 @@ <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.

+ +

No Results Text Support

+
+

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"}); + +

Right to Left Support