On Jan 20, 4:33 pm, rolfK <[email protected]> wrote:
> Hello,
>
> Thank you for your fast response. But unfortunately your suggestion
> does not solve the problem. Using xyz as query, the following string
> is transferred:
>
> Without option field:
> query=xyz
> That is okay and as expected. With your suggestion as option field,
> the following is pushed to the server.
> query=xyz&%5Bobject%20Object%5D
>
There is what looks very much like a bug in the scriptaculous
documentation (as is actually noted at
http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter): the
'parameters' property needs a string, not an object.
Try
new Ajax.Autocompleter(
"query", "auto_suggest",
"include/suggest.php",
{ parameters: "media_only=media_only" }
);
It would be very much neater if it did accept an object (and I fell
over this myself).
Colin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---