Top "Optgroup" questions

The OPTGROUP element defines a group of choices within a SELECT menu.

Formtastic select with grouping

Now with Formtastic I have plain select: = f.input :category, :as => :select, :include_blank => false, :collection => subcategories …

ruby-on-rails grouping formtastic acts-as-tree optgroup
Display result matching optgroup using select2

I'm using select2 with Bootstrap 3. Now I would like to know whether it is possible to display all optgroup items …

jquery-select2 optgroup
Show the selected option with group label in <optgroup>

I have the following code. I want when an option is selected then with selected option the group label should …

jquery html css optgroup
bootstrap multiple select , How to select the whole group items after selected group

all! Is the bootstrap-select possible to select the group ? which is mean when I selecting a group , it could auto …

jquery html bootstrap-select optgroup
How to get multiselect optgroup values based on each label on submit?

I have a select option with multiple optgroups. I want to select multiple values from each group & get values …

javascript jquery html multi-select optgroup
Check if optgroup by id/label exists in jquery?

I have a dropdown, and in another process add optgroups/options to that dropdown, and that part works fine. But …

jquery jquery-selectors optgroup
some jQuery/javascript help. Add items to optgroup

I have an array called tmp var tmp = ["05", "13", "27"]; if an option value is equal to a value within tmp, I …

javascript jquery drop-down-menu html-select optgroup