autocomplete source code example
Example 1: ajax autocomplete javascript
rake webpack
Example 2: autocomplete open
$( "#tags" ).autocomplete({
source: availableTags,
minLength:0
}).bind('focus', function(){ $(this).autocomplete("search"); } );