Editable 'Select' element
问题 I would like to have a select element in the form but besides the options in the dropdown, it would be useful to be able to edit it and add new option but not with another input text, I need all in once. Is it possible? 回答1: Nothing is impossible. Here's a solution that simply sets the value of a text input whenever the value of the <select> changes: Demo on JSFiddle Rendering has been tested on Firefox and Google Chrome. <style> .select-editable { position:relative; background-color:white;