Thats planned for the jQuery UI autocomplete widget:
http://wiki.jqueryui.com/Autocomplete

Take a look at the proposals for the source (and related parse)
options. See any shortcomings there?

Jörn

On Tue, Jul 7, 2009 at 10:19 PM, Andrew McHarg<amch...@gmail.com> wrote:
>
> It would be nice if the autocomplete plugin accepted a function that
> retrieved the data on behalf of the plugin instead of being stuck with
> either static data or a relatively inflexible canned ajax request.
>
> $("#example").autocomplete(function (term, success, failure) { /* do
> custom method for retrieving data */ });
>
> This seems like it would be fairly easy to do. Simply making the
> request function an option would probably suffice. I will probably
> hack this up this afternoon and have a patch for it if anyone wants
> it. :)
>

Reply via email to