Hi,
From the Autocomplete | jQuery homepage:
The datasource is a simple JavaScript array, provided to the widget using the source-option.
This means that in its simplest form, you point the plugin at an array like this:
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"
];
and it will filter the results depending on what is typed.
You might notice however, that there is a remote option, in which case the datasource is a server-side script which returns JSON data, specified via a simple URL for the source-option.
To make your page load a new page based on the user’s input shouldn’t be too hard.
You would probably have to hook into the select event, which is triggered when an item is selected from the menu.
If you have any questions about the implementation, just let me know.