Thanks Hamish but as far as I can tell this is a known problem ie.
retrieving remote JSON-format data using the autocomplete plugin.

Be great to hear from folks who know if this has been fixed in the
latest autocomplete plugin code and if example code exists to show how
it is done. Cheers!

Dinesh



On Apr 1, 3:10 pm, Hamish Campbell <[EMAIL PROTECTED]> wrote:
> >The JSON example on the autocomplete
> > site doesn't work as it sends the entire
> > remote data to the browser instead of
> > returning just a limited number of items.
>
> Probably becuase it requires a backend page to provide dynamic results
> based on the search query.
>
> Note:
>
>     When the user starts typing, a request
>     is send to the specified backend
>     ("my_autocomplete_backend.php"),
>     with a GET parameter named q that contains
>     the current value of the input box and a paremeter
>     "limit" with the value specified for the max option.
>
>     A value of "foo" would result in this request url:
>     my_autocomplete_backend.php?q=foo&limit=10
>
>     The result must return with one value on each line.
>     The result is presented in the order
>     the backend sends it.

Reply via email to