Hi guys,
     I'm playing around with the Autocomplete function of jQuery
Interface elements (http://interface.eyecon.ro/). Now I've managed to
put all the pieces together except one... i.e. when you start typing
in the autocomplete field, the data is being sent to the ajax backend
- but I can't figure out what variable to look for in the backend to
grab that data and match it with the autocompletion list.

My field is a country names field and the backend contains an array
with all the country names. So when you type a couple of characters in
the field - the data is sent to the backend, when do a strpos() check
against each array element and return the matches in XML format.

$('#country').Autocomplete( ... )

My question is - how do I read the data at the backend? I tried
$_POST['country'], $_GET['country'] etc... but nothign seems to work.
What variable is used to transport the data here?

Thanks,
m^e

Reply via email to