Fill across AJAX Request, doesn't works.

Joseph's Avatar


09 Mar, 2012 05:08 PM


I trying to fill the autoSuggest plugin with AJAX request, the request, works, there is the data return:


but the plugin show a No Result Found, anyone has had the same problem?

thanks for your answers.


  1. 1 Posted by Joseph on 09 Mar, 2012 05:12 PM

    Joseph's Avatar

    sorry, the data doesn't show.

    here's again:

    [{ value : 1, name: intel}, { value: 2 , name :intelly }]

  2. 2 Posted by Joseph on 09 Mar, 2012 05:31 PM

    Joseph's Avatar

    Another tip:

    when change this code, in processData function:

    if( != -1 && values_input.val().search(data[num][opts.selectedValuesProp]+",") == -1){

                                forward = true;

    For this:

    if(values_input.val().search(data[num][opts.selectedValuesProp]+",") == -1){

                                forward = true;

    The plugin show me suggest, but no the name field, he show me the value field, in other words. the plugin should show me:


    but show me:



  3. 3 Posted by Paul on 11 Mar, 2012 02:38 PM

    Paul's Avatar

    I have same problem , I changed JSON return:
    [{ name : 1, value: intel},... and it's working, but it's not good solution.

  4. 4 Posted by Paul on 11 Mar, 2012 03:06 PM

    Paul's Avatar
  5. 5 Posted by Joseph on 12 Mar, 2012 01:02 PM

    Joseph's Avatar

    I use the code change and the propiertes change... and works.

    I was going crazy.
    Thanks for all,

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


? 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