Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Combo box

From HandWiki - Reading time: 4 min


Short description: User interface element
A generic combo box

A combo box is a commonly used graphical user interface widget (or control). Traditionally, it is a combination of a drop-down list or list box and a single-line editable textbox, allowing the user to either type a value directly or select a value from the list. The term "combo box" is sometimes used to mean "drop-down list".[1] In both Java and .NET, "combo box" is not a synonym for "drop-down list".[2][3] Definition of "drop down list" is sometimes clarified with terms such as "non-editable combo box" (or something similar) to distinguish it from "combo box".

To make a combo box like shown in the image above in HTML, one can write the following code:

<input list="comboboxlist" value="Something else">

<datalist id="comboboxlist">
  <option value="List item 1">
  <option value="List item 2">
  <option value="List item 3">
  <option value="List item 4">
</datalist>

See also

References




Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Combo_box
8 views |
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF