About jquery. combobox, this jquery plug-in has been directly downloaded from the official website and used with bugs. The following is a simple translation of its api and fixes the above bug. Code after fixing the bug: jquery. combobox. js
The following describes the parameters:
* ComboboxContainerClass
O set the style name of the entire control (the package is on the outermost side)
* ComboboxValueContainerClass
O set to display the style names of selected text and drop-down
* ComboboxValueContentClass
O set the display style of the selected text
* ComboboxDropDownClass
O set the style of the drop-down options
* ComboboxDropDownButtonClass
O set the drop-down button style
* ComboboxDropDownItemClass
O set the style of the drop-down options
* ComboboxDropDownItemHoverClass
O The style when you move the cursor over the option
* ComboboxDropDownGroupItemHeaderClass
O set the optgroup ItemHeader Style
* ComboboxDropDownGroupItemContainerClass
O set the optgroup element style
* AnimationType
O set the animation effect style, such as slide and hide (100). The default is slide.
* Width
O control width
* Height
O control height
* OnChange
O this event is triggered when the options change and two parameters are received. The first parameter is selecedIndex and the second parameter is selectedValue.
The following is a simple example:
The Code is as follows: