Top "Option" questions

DO NOT USE THIS TAG.

jQuery - disable/enable select options

I need some help with jquery if condition. I've been searching and testing for hours, any help would be great !!! …

jquery option
JavaScript: add extra attribute after new Option()

I have a piece of code that dynamically adds options to a select field depending on some other criteria. It …

javascript attributes option
What's the difference of "./configure" option "--build", "--host" and "--target"?

The script ./configure accepts 3 options --build, --host and --target. I'm confusing their roles. What's the difference and semantics of them?

cross-compiling option configure autoconf
Change the Text of a Option with jQuery

How can I change the text of an option with jQuery? I'd like to change Newest with Oldest in an …

javascript jquery select replace option
Is there a way to apply a CSS style on HTML5 datalist options?

I would like to modify the way that the list of the different options of my datalist are displayed. Is …

css html option html-datalist
It is bad to put <span /> tags inside <option /> tags, only for string manipulation not styling?

I would like to make groups of the text content of an <option /> tag. Say I have the …

tags option html
What values can appear in the "selected" attribute of the "option" tag?

I have some markup similar to the following: <select> <option selected="selected">Apple</option> &…

html xhtml option selected
How to get attribute from selected option of select in jQuery?

I have the next selectbox in HTML: <select id="listbox-taskStatus" class="selectpicker"> <option status="0">In progress&…

javascript jquery select web option
Add selected attribute to option in select menu with jQuery

I'm making a select menu plugin to replace the ugly default selects and be consistent across different OS. Here's the …

jquery menu option selected
css select dropdown bold on some <option>'s

On a select dropdown, I need to make certain items 'strong/bold'. How can I do this? Example of what …

css forms select option