Git Product home page Git Product logo

Comments (5)

dyve avatar dyve commented on July 29, 2024

You should return an array, not an object. Please see the JSON generated by search.php in the demo.

from jquery-autocomplete.

lashisu avatar lashisu commented on July 29, 2024

I am unable to do the same. Can you please help me out? I will provide you my files.

from jquery-autocomplete.

dyve avatar dyve commented on July 29, 2024

I will verify the json demo asap. I will not test your software for you.

On Wed, Jan 25, 2012 at 12:02, lashisu
[email protected]
wrote:

I am unable to do the same. Can you please help me out? I will provide you my files.


Reply to this email directly or view it on GitHub:
#6 (comment)

from jquery-autocomplete.

lashisu avatar lashisu commented on July 29, 2024

Ok, Not an issue.But kindly update it with JSON data like below:-

{"AAL":{"id":"32313","airport_name":"Aalborg","latitude":"57.1","longitude":"9.85","timezone":"2","dst_indicator":"E","city":"Aalborg","country":"Denmark","country_code":"DK","region":"TC1","listing_display":"true","pseudonyms":""},"AAR":{"id":"32314","airport_name":"Tirstrup","latitude":"56.15","longitude":"10.2167","timezone":"2","dst_indicator":"E","city":"Aarhus","country":"Denmark","country_code":"DK","region":"TC1","listing_display":"true","pseudonyms":""}}

from jquery-autocomplete.

dyve avatar dyve commented on July 29, 2024

As I said before, your JSON is not array (it's an object). JSON works fine when you stick to the method illustrated by the demo.

I installed a live demo on http://dyve.net/jquery-autocomplete/demo/index.html.

See JSON output exmaple: http://dyve.net/jquery-autocomplete/demo/search.php?output=json&q=fal

If you fix your JSON output, it will work. Autocomplete requires an array, object notation is not supported for now.

from jquery-autocomplete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.