The autocomplete plugin by Jörn is awesome but limited in that i want to get my data for its from a function call instead of a url. let me explain.
Allowing data to be pulled from a URL is great but it locks me into the required format. Allowing data from an array is cool but it locks me into a fixed set of data. By allowing a method (function) to be past in i can abstract the ajax call and format the data to a format required by the plugin but still have my url script return the data how i like. At the minute my url returns data as a JSON array which is how i want it to be and dont want to have to right another service to render it differently. By passing in a function to act as a delgate I can choose where the data comes from, the plugin should only care that it has been given some data regardless of wether that comes from a method call or an ajax call. I've went through the code and have a good idea of what to change but dont want to have to waste to much time doing this or breaking existing code and introducing bugs. Any chance of getting this in a n update