Getting NOTHING through AJAX

ChrisFlannagan's Avatar

ChrisFlannagan

07 Jun, 2010 12:07 AM

Hi, I realllllly want to use this plugin but I've spent hours trying to get it to work with no success. Feel free to delete my last post about ASP.NET, I've gone a different route.

So, I'm on a windows server with php 5.2, I wrote a php script that sends back

header("Content-type: application/json");
echo json_encode($data);

You can see it in action here: http://destinations.travmarket.com/TripPlanner/feed/destSearch.php?...

Feel free to change the "q" to whatever for different search results. The form I'm using to call it is located here:

http://destinations.travmarket.com/TripPlanner/step1.aspx

All I get is the "No Results" item, someone PLEASE help me out here.

Cheers!

Chris

  1. 1 Posted by ChrisFlannagan on 07 Jun, 2010 12:48 AM

    ChrisFlannagan's Avatar

    NM, I got it by adding the following

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

    Not be a hard on about this, but you should probably update your blog to show you need these things in the section that shows the php code and such. I spent a lot of time for it to be such a simple fix.

  2. 2 Posted by John on 05 Oct, 2010 09:25 PM

    John's Avatar

    Wow.. I had the same issue, simple fix, but the documentation implies that you don't need to do this at all.

  3. 3 Posted by Kabinenkoffer on 16 Nov, 2010 07:37 PM

    Kabinenkoffer's Avatar

    Hi,
    great, i had the same problem and now it works ...
    Thanks

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