<html> <head> <title>jQuery UI Autocomplete - Combobox</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script> $( function() { var availableTags = [ "ActionScript", "AppleScript", "Asp", "BASIC", "C", "C++", ]; $( "#tags" ).autocomplete({ source: availableTags }); } ); </script> </head> <body> <label for="tags">Tags: </label> <input id="tags"> </body> </html>