jquery-combobox-plugin

0.5.2 • Public • Published

jQuery Combo Box Plugin

THIS COMBOBOX IS HIGHLY SPECIFIC AND WILL NOT WORK FOR YOU

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

<input id="combobox1" type="text" name="fruit" />

JavaScript

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i jquery-combobox-plugin

      Weekly Downloads

      2

      Version

      0.5.2

      License

      ISC

      Last publish

      Collaborators

      • laszlof