jQuery Mobile Form Select Menu
jQuery Mobile Select Menu
The <select> element creates a drop-down list with several options.
The <option> elements within the <select> element define the available options in the list:
Example
Tip: If you have a long list with related options, use the <optgroup> element within the <select>:
Example
Custom Select Menu
The image at the top of this page demonstrates how to display a select menu on mobile platforms.
If you want the select menu to look the same on all mobile devices, use the custom select menu provided by jQuery, with the data-native-menu="false" attribute:
Example
data-native-menu="false">
Multiple Selection
To select multiple options in the select menu, use the multiple attribute in the <select> element:
Example
multiple data-native-menu="false">