jQuery UI Selectmenu
jQuery UI Selectmenu is used to extend the functionality of a native HTML select element. It provides the customization functionality in behavior and appearance far beyond the limitation of a native select.
The jQuery UI Selectmenu widget provides a proper replacement of select element and act as a proxy back to the original select element controlling its state for form submission or serialization.
Example of jQuery UI selectmenu() method
Let's take a simple example to demonstrate the functionality of Selectmenu.Test it Now
Following is a list of different options that can be used with this method.
Initialize the Selectmenu with the disabled options specified:
Let's take an example to demonstrate the above table options. The following example specifies how to use the disabled option in the jQuery UI Selectmenu example.
There are two ways to use the option "disable":
1) Get the disable option:
1) Set the disable option:
jQueryUI selectmenu() example 2
In the following example, we are using set method:
Let's take an example to demonstrate the usage of selectmenu().
Following is a list of different actions (methods) that can be used with this jQueryUI Selectmenu method.