AutoCompleteJS is a JavaScript widget that helps your users find things quickly.

Usage Code: <div id="search_bar"></div> <script src="jquery.js"></script> <script src="autocomplete.js"></script> <script> var widget = new AutoComplete('search_bar', ['Apple', 'Banana', 'Orange']); </script> Result: