When I use something like this it works:

new Ajax.Autocompleter("autocomplete_geo_input",
"autocomplete_geo_div", "/geographies/autocomplete", {minChars: 3});

However, when I use something like this it doesn't work:

new Ajax.Autocompleter("autocomplete_geo_input",
"autocomplete_geo_div", "http://127.0.0.1:3000/geographies/
autocomplete", {minChars: 3});

In the second version it doesn't send the value in the text field! Why
not?! It just pings the URL with zero parameters passed.

To be clear, it actually sends a request to the server every time the
text field changes with three or more characters, it just doesn't send
the characters to the server. Why should it make any difference if I
specify an absolute URL or not? Is it impossible to use the
autocompleter across domains?

Philip

--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to