Jquery. combobox Chinese api and example, fixed the above small bug_jquery

Source: Internet
Author: User
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:


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.