Top "Html-select" questions

An HTML user interface element for choosing one or more option(s) from a finite collection of options.

Setting hidden datalist option values

In the snippet below, I have two methods to choose an item: input with datalist and traditional select with options. …

html html-select html-datalist
Getting selected options with querySelectorAll

I wonder if it's possible in Javascript to get the currently selected options in a <select multiple> field …

javascript html-select selectors-api
html select not show selected even after set selected

I have a country dropdown and I set the selected attribute to US. I can clearly see select="selected" into …

html html-select selectedvalue
A Better Django Admin ManyToMany Field Widget

I find the the Django Admin's default models.ManyToManyField widget to be cumbersome to use. It's the HTML select element …

javascript django django-admin html-select
how do you set up a required select without a default value selected

I'm trying force the user to make a selection, rather than just using the first field. How do I prevent …

html html-select
Dealing with huge data in select boxes

Hi I am using jQuery and retrieving "items" from one of my mySQL tables. I have around 20,000 "items" in that …

jquery html-select large-data
How to click a "select option" and then evaluate loaded content with casperjs

I'm trying to crawl the sizes for this product: Link to product The problem: The sizes are loaded after the …

javascript phantomjs html-select casperjs
jQuery: add an <option> to a <select>

When I attempt to add an option to a select, the option I’m trying to append ends up appended …

javascript jquery option html-select
jQuery and css: hide/show select options with a certain css class

In the html code I have select options like this: <option value="1" class="myclass5">Value1</option> …

jquery css show-hide html-select