From 266274575c6ba1d841411df3b786296e4f10eb26 Mon Sep 17 00:00:00 2001 From: Patrick Filler Date: Tue, 19 Jul 2011 17:34:25 -0400 Subject: [PATCH] Add examples for selected / deselcted and description of title behavior. --- index.html | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/index.html b/index.html index 258fbf2..87999c5 100644 --- a/index.html +++ b/index.html @@ -1147,6 +1147,45 @@ +

Selected and Disabled Support

+
+

Chosen automatically highlights selected options and removes disabled options.

+
+ Single Select + +
+
+ Multiple Select with Groups + +
+
+ +

Default Text Support

+
+

Chosen automatically sets the default field text ("Choose a country...") by reading the select element's title value. If no title value is present, it will default to "Select Some Option" or "Select Some Options" depending on whether the select is single or multiple. You can change these elements in the plug-in js file as you see fit.

+ <select title="Choose a country..." style="width:350px;" multiple class="chzn-select"> +
+

Why use Chosen?