DD I want to make a field with auto-complete in the search, i.e. a person starts typing a word search and automatically displays a list of close by value. I use the following code:
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 where availableTags is a list of values that will be automatically substituted later. I call <1input type="text" class="search" id="tags"> and everything works with a bang. I wanted to ask how instead of the variable availableTags accessed the file, which will have a list of all the relevant words. Sincerely. Waiting for an answer.
ps New to jquery, kick not kick)