Widget based on jQuery UI, which combines UI autocomplete functionality with beautiful selected choices (tags)
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
sprites.png
ui-auto-multiselect.css
ui-auto-multiselect.js
ui-auto-multiselect.png

README

Widget based on jQuery UI, which combines UI autocomplete functionality with beautiful selected choices (tags)
Depends:

    * jQuery, jQuery UI autocomplete 

Using:

<link rel="stylesheet" type="text/css" href="/path/to/folder/ui-auto-multiselect.css">
<script type="text/javascript" src="/path/to/folder/ui-auto-multiselect.js">
<script type="text/javascript">
    $(function() {
        $('#example').automultiselect({source:'/link/to/source/of/autocomplete'})
    })
</script>

Where $('#example') just a simple text input

<input type="text" id="example" />

Options:

source: url to autocomplete source or structure like [{'id':'1','value':'foo'},{'id':'2','value':'bar'}]

delay: delay before autocompletion

minLength: minimal amount of characters before autocompletion

prefix: prefix before name of hidden field

help: help text before or after text input

help_before: boolean, if true then help text will be rendered before text input, else after input

style: defines tag style: 'default' - use jQuery UI theme for rendering tags, also supported 'jira' style and 
       'stackoverflow' style