Top "Html-select" questions

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

Get the current value in bootstrap-select

I used e.target.value to retrieve the current selected value from bootstrap-select but it returned the first selected value …

javascript jquery twitter-bootstrap html-select bootstrap-select
Selectable <optgroup> in HTML <select> tag

Is there any way to make the option group selectable?

html html-select optgroup
Rails 3: f.select - options_for_select

I have a form on my Ruby on Rails3 Application with a drop menu, this is my current code for …

ruby-on-rails-3 forms html-select
Include blank for first item in select list in options_for_select tag

I tried :include_blank => true, but it didn't work. <select> <%= options_for_select Model.all.collect{|…

ruby-on-rails ruby-on-rails-3 erb html-select
Fire event each time a DropDownList item is selected with jQuery

I have a dropdown: <asp:DropDownList id="dropdownid" runat="server" class=blah"/> in my jQuery, I assign change …

jquery html-select
Zend Framework - Set 'selected' value in select box dropdown list

I am adding a select element to a Zend_Form instance as follows: $user = $form->createElement('select','user')-&…

php zend-framework zend-form html-select
Using $index with the AngularJS 'ng-options' directive?

Say that I bind an array to a select tag using the following: <select ng-model="selData" ng-options="$index as …

angularjs html-select
ASP.NET MVC dropdown with a default empty option

Is there a way to include a default empty option (or with text) if there is no selected value for …

asp.net-mvc html.dropdownlistfor html-select
How do I put a space character before option text in a HTML select element?

In a drop down list, I need to add spaces in front of the options in the list. I am …

html html-select
Pseudo elements and SELECT tag

Does the select tag allows to use the :after selector in order to create a pseudo element after it? I've …

css html-select pseudo-element