Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 855 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 855 Bytes

jQuery Combo Box Plugin

What is it?

Turns a <input type="text"> into a combo box.

  • autocomplete
  • keyboard controls
  • most styles can be customized via css
  • list of values can be changed dynamically

This is not intended for extending <select> elements. Many other jquery "combo box" plugins out there behave more like searchable select elements with disctinct labels and values for each option. This plugin simply allows the user to choose from existing text values or supply their own.

How to Use it

###HTML

###JavaScript

jQuery(function () {
 
    jQuery('#combobox1').combobox([
        'Apples',
        'Oranges',
        'Bananas'
    ]);
 
});