Example doesn't work

botsko's Avatar

botsko

23 Mar, 2012 04:20 PM

I'm integrating this with a php app and felt like I was missing something basic when my php response code wasn't working, but then I tried the example php code you provide and no matter what, it always says "No Results Found" even though I see the response show proper json.

I'm using both example javascript and php from the website, and when I enter several letters I see the request, and I see the response:

[{value

But nothing ever shows. Firefox 11 on Mac.

  1. 1 Posted by botsko on 23 Mar, 2012 04:21 PM

    botsko's Avatar

    Sorry, response was:

    [{"value":"541","name":"viveleroi"}]

  2. 2 Posted by Jon on 27 Mar, 2012 06:44 AM

    Jon's Avatar

    What is your jQuery code?

    selectedItemProp: "name",
    selectedValuesProp: "value",
    searchObjProps: "name",
    

    The response is ok.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac