I'm not aware of any easy way to do this at the moment. The thing that I'd like to do, is to have jqueryui to use conditional arguments to decide which cache it should be reading from. The data is stored in the localStorage object via the mozilla hack.
But I don't know of an easy way to make it, so that jqueryui will easily wrap around it. Since I have a few input elements, and each one is going to have its own cache that it will be using. Since I do not want to have to use a ton of elements being built around them, I'd rather due it via a wrapper function. Since some of the inputs are changed dynamically and thus which cache they're supposed to be reading from is 'on demand' so to speak.
Is there any easy way to do this? The api i'm talking about is at the following url.
http://jqueryui.com/demos/autocomplete/I'd like to be able to use it, instead of having to use my own code through it, but if there is no easy way to do it, then I'll just have to reimplement the code myself without using jqueryui.