Top "Optgroup" questions

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

Select Dropdown PHP foreach loop with 'optgroup' options

I have a dropdown menu with a PHP 'foreach' that I loop through to populate the select options. This works …

php select foreach optgroup
Select with optgroup in Symfony 2.0

In Symfony2, the select html component is rendered as a ChoiceType object, which is used indeed also for checkboxes and …

php forms symfony html-select optgroup
ASP.Net MVC 3: optgroup support in Html.DropDownListFor

How can i make my DropDownListFor support optgroup? Is there anyway to do it? Notice that this is DropDownListFor, means …

asp.net-mvc-3 drop-down-menu optgroup
Adding optgroups in angularjs is proving tricky

I'm using angularjs, and I've been trying to create an optgroup for the past 2 days while working on some other …

angularjs optgroup
PHP: Dynamic Drop down with optgroup

I am developing a drop down menu that uses HTML optgroups for group names that employees are a part of. …

php mysql drop-down-menu optgroup
Easy way to quick select a whole optgroup in select box

I have a select box in which i can select multiple options. In the select box are multiple optgroups. Is …

javascript html optgroup
How to hide optgroup label?

I need to get rid of labels in optgroups. From this: http://i.stack.imgur.com/Gn5e5.png Into …

html html-select optgroup
Set a select by option value with optgroups

We do business in the US and Canada, so on a registration form I have a select that has optgroups …

jquery html html-select optgroup
styles on optgroup

How can you put a style on a optgroup in a select tag? http://jsfiddle.net/UCNJ8/3/ js: $('<…

css optgroup
Sub Option Groups in Bootstrap-Select

The select code below is possible without using Bootstrap-Select plugin, but not when using it: <div class="container"> &…

css twitter-bootstrap optgroup