Autocomplete plugn with from ajax request
Hi,
I am building a world city autocomplete using the googlemap api. The issue is that the aucomplete is acting weirdly and I had to do weird trick to make to work (badly)...
Here is the source code: http://jsfiddle.net/4T8f9/1/
My problem is that I am not getting the data from a remote request and nor from a local variable. I dynamicly push data in my local variable. To make it almost work I had to call a new autocomplete instance on each keypress...
Take a look at the code to understant what I am trying to explain :)