Problems when using autocomplete
Hello,
I'm using jQuery Autocomplete plugin 1.1 for city search form. When I type in city name f.e. "Chicago", if I type slowly enough, multiple requests are being started and the problem is that sometimes plugin gets response to last request earlier than to previous requests and then it uses values from previous requests. For example it gets response from last request which is request with search string "Chicago", then it gets response from some earlier request with search string "Chi" and uses it. So the result is: we have full word "Chicago" in our search field but at the top of city list autocomplete plugin offers "Chittagong". Any ideas how to solve this? Thank you.