May 21, 2021 jQuery Mobile
The element creates a pull-down list with several options.
The element within the element defines the options available in the list:
Tip: If you have a long list with relevant options, please use the elements of the slt;optgroup;gt;
The images at the top of this page demonstrate how mobile platforms can use them to present a selection menu.
If you want the selection menu to look the same on all mobile devices, use jQuery's own custom selection menu, the data-native-menu-false property:
To select more than one option in the selection menu, use the multiple property in the element:
Use data-role-"controlgroup"
How to combine one or more selection menus.
Using data-type-"horizontal"
How to select menus horizontally.
Preselect options
How to preselect an option.
The form is collapsible
How to create a collapsible form.