Comments (5)
You should return an array, not an object. Please see the JSON generated by search.php in the demo.
from jquery-autocomplete.
I am unable to do the same. Can you please help me out? I will provide you my files.
from jquery-autocomplete.
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.
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.
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)
- FilterResults works better than filter. Filter inserts a superfluous <li>
- onNoMatch called way too late
- Add an option "destroy"
- Suggestions don't appear HOT 1
- Vertical position fix
- autocomplete dynamic with data pass HOT 2
- Does not permite functions as extraParams HOT 1
- Narrowing down search suggestions HOT 1
- Improved Autocomplete
- IE11 Scroll is not moving when we click on down arrow of the scroll bar in scrollable results section
- input created with weird values
- Ignore accents when typing
- cannot Consider for last part of the string to autocomplete HOT 1
- headers already sent error HOT 1
- Please, add to doc HOT 1
- firefox minChar no work
- if i have a select to chang input autocomplete url,what should I do?
- Add autocomplete argument to beforeUseConverter
- Empty server response may be interpreted as one "empty" result
- Multiple result divs.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-autocomplete.