Select menus
Custom select menus
$(document).bind('mobileinit',function(){
$.mobile.selectmenu.prototype.options.nativeMenu = false;
});
Disabled options
Placeholder options
- An option with no value attribute (or an empty value attribute)
- An option with no text node
- An option with a
data-placeholder="true"
attribute. (This allows you to use an option that has a value and a textnode as a placeholder option).
$.mobile.selectmenu.prototype.options.hidePlaceholderMenuItems = false;
Examples of various placeholder options:
Multiple selects
Optgroup support
Theming selects