Top "Optgroup" questions

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

Selectable <optgroup> in HTML <select> tag

Is there any way to make the option group selectable?

html html-select optgroup
How to indent multiple levels of select optgroup with CSS?

Just trying to indent optgroup blocks by nesting depth really, I've tried a general margin-left rule, nested elements then trying …

html css select indentation optgroup
Jquery – Select optgroup in select

I have a select with 2 optgroups. Is there a way to call an function only if an option from the …

jquery select optgroup
Adding optgroups to select using javascript dynamically

I have a dynamically populated (by ajax) select box with resulting options like that: <select id="destination" name="destination"&…

javascript jquery select options optgroup
Add optgroup with options to select with jQuery

my question is simple but yet I didn't find a clear example of doing that. I'm trying to add optgroup …

jquery select optgroup
Jquery bootstrap multiselect optgroup selection

I am using Jquery bootstrap multiselect plugin which seems pretty good and fulfill most of the requirements which i needed. …

jquery optgroup
How to hide optgroup/option elements?

Is there a way to hide option or optgroup HTML elements? I've tried calling hide() in jQuery, and also using …

javascript jquery html option optgroup
JQGrid Edittype: 'select' using dataurl returns <select> with <optgroup> not saving select value

I have a JQGrid column with edittype:'Select' using dataUrl to return a list of Accounts with groups for the …

jqgrid optgroup
GroupBy in JavaScript to group JSON data and populate on optgroup

I am a little bit lost. I am getting this JSON: [{ "id": "210", "name": "Name 1", "category": "Category 1" }, { "id": "187", "name": "Name 2", "category": "…

jquery json optgroup
How to get the optgroup for a multiselect in jQuery?

I am using a multiselect with options grouped together. <select title="Fruits" multiple="multiple" id="fruits" name="fruits[]"> &…

jquery multi-select optgroup