jQuery UI AutoComplete remote json response question
Posted
by
Greg-J
on Stack Overflow
See other posts from Stack Overflow
or by Greg-J
Published on 2011-01-05T04:39:58Z
Indexed on
2011/01/05
4:53 UTC
Read the original article
Hit count: 332
I was using geonames.org to autocomplete city and state but found it to be far too slow to be reliable. My code is as follows, and does work (wait about 10 seconds to see the autocomplete results)
Old (working) code here: http://jsbin.com/umewo3/2/edit
Now I am using YQL as they provide a much quicker response. The issue is that I don't seem to understand how to properly map the response. You can see I am sending a well formed request, and getting the response back - but I am somehow not dealing with the response properly.
New (broken) code here: http://jsbin.com/aqoke3/2/edit
Any and all help appreciated.
© Stack Overflow or respective owner