jQueryUI AutoComplete

From jQueryUI site (no Angular)

by Wijmo

HTML

<div class="ui-widget">
  <label for="tags">Tags: </label>
  <input id="tags" />
</div>

JavaScript

$(function() {
  var availableTags = [
    "ActionScript", "AppleScript", "Asp", "BASIC",
    "C", "C++", "Closure", "COBOL", "ColdFusion", "Erlang",
    "Fortran", "Groovy", "Haskell", "Java", "JavaScript",
    "Lisp", "Perl", "PHP", "Python", "Ruby", "Scala", "Scheme"
  ];
  $( "#tags" ).autocomplete({
    source: availableTags
  })
})