Comments (5)
Agreed, will fix
On Tue, Mar 20, 2012 at 01:29, Chris Basham
[email protected]
wrote:
dyve, as a further suggestion, I would recommend including additional examples on how to handle JSON server output. My output, for example, was formatted such as:
[{firstname:'John', lastname:'Doe'}, {firstname:'Jane', lastname:'Smith'}]
I had to reformat this data in the
processData
function, generating:
[{value:'John Doe', data:{firstname:'John', lastname:'Doe'}}, {value:'Jane Smith', data:{firstname:'Jane', lastname:'Smith'}}]
While I figured it out, a little more clarity regarding what
value
anddata
is would be greatly appreciated. I assumeddata
was the full result list, not secondary data related to a specific result.
Reply to this email directly or view it on GitHub:
#30
from jquery-autocomplete.
Same here. I figured it out pretty quickly by console.log'ing the arguments, but a little hint would be much appreciated. ;-)
from jquery-autocomplete.
@basham Can you explain how to do that?
from jquery-autocomplete.
This project needs documentation.
from jquery-autocomplete.
You can see the examples in the demo and use the documentation in the .txt file. That's all there is 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.