Home >Web Front-end >JS Tutorial >jquery.combobox Chinese api and examples, fix the above small bug_jquery

jquery.combobox Chinese api and examples, fix the above small bug_jquery

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 18:09:111015browse

Code after fixing the bug: jquery.combobox.js
The following is the parameter description:
* comboboxContainerClass
o Set the style name of the entire control (wrapped at the outermost)
* comboboxValueContainerClass
o Set the style name for displaying selected text and drop-down
* comboboxValueContentClass
o Set the display style of selected text
* comboboxDropDownClass
o Set the style of drop-down options
* comboboxDropDownButtonClass
o Set the style of the drop-down button
* comboboxDropDownItemClass
o Set the style of the drop-down option
* comboboxDropDownItemHoverClass
o The style when the mouse moves over the option
* comboboxDropDownGroupItemHeaderClass
o Set The style of optgroup ItemHeader
* comboboxDropDownGroupItemContainerClass
o Set the style of optgroup element
* animationType
o Set the style of animation effect, such as slide, hide(100), default slide
* width
o Control width
* height
o Control height

 * onChange

 o This event is triggered when the option changes and receives two parameters. The first one is selectedIndex. The second one is selectedValue

The following is a simple example:

Copy the code The code is as follows:



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn