Autocomplete arrays
Autocomplete arrays
I've been working with Autocomplete and have it working fine based on one of the demos.
It links to an external JavaScript that includes an array. Is there a way to take out the JavaScript function and put it in with the HTML? The array would remain separate. I'm guessing the function would have to be modified to pull in the text of the array, but I'm not sure how to do that.
The reason for doing it this way is that we would be able to use the same array with two different plug-ins.
Sorry if this isn't clear. I'm still a beginner.