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

WBOY
Release: 2016-05-16 18:09:11
Original
966 people have browsed it

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:



Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template