jQuery plugin to convert select elements into an autocomplete widget
CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demos
.gitignore
LICENCE
README.md
jquery.ui.select2autocomplete.js

README.md

jQuery plugin to convert select elements into an autocomplete widget

Usage

Either include the file after jQuery and jQuery UI:

<script src="/path/to/jquery.js"></script>
<script src="/path/to/jquery.ui.js"></script>
<script src="/path/to/jquery.select2autocomplete.js"></script>

or use it as an AMD module:

require(['jquery', 'jquery.select2autocomplete'], function ($) {
  $(function () {
    $(...).select2autocomplete();
  });
});

NB This relies on jQuery UI being available under the name 'jquery.ui'.