Jquery autocomplete with json
Does anyone have a full working example of Jquery autocomplete with json that works?
I can't get any of the examples that I am finding online to work.
Does anyone have a full working example of Jquery autocomplete with json that works?
I can't get any of the examples that I am finding online to work.
I think my data is in the wrong format. Here is my response:
//"\/\/[\"Miami Area Geriatric Education Center\",\"Miami Children's Hospital\",\"Miami Research Associates\",\"Miami University (Oxford, Ohio)\",\"Miami Valley Hospital\",\"Miami, FL-546\",\"University of Miami\\\/Jackson Health System\"]"
The ongoing thread here http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:64866 is really saying the same thing you and I are, namely that the data is not in the correct format (as you know). That thread made mention to this article: http://www.petefreitag.com/item/720.cfm. The leading "//" on the front of that data shows that secure JSON is enabled. This "//" prefix needs to be removed from the data. Can you put this in your code to turn secure JSON off and then see what response you get?
<cfset this.secureJSON = false>
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.