Hi I am trying to create auto completion
functionality for a drop-down OR select html form element.
I need a functionality like once us
This can be achieved in a simple way. Reference from the following library https://jqueryui.com/autocomplete/
Import the following headers using cdn links
Load an array with the data
Create an input feild
Complete Code
$( function() {
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"
];
$( "#tags" ).autocomplete({
source: availableTags
});
} );
jQuery UI Autocomplete - Default functionality