[jQuery] Re: Autocomplete - every item shown regardless of letter typed

2008-09-03 Thread Jörn Zaefferer
Looks like a typo in your parse implementation: value: row.aname, should be value: row.name, Jörn On Wed, Sep 3, 2008 at 8:32 AM, foxtrot [EMAIL PROTECTED] wrote: Oops, sorry aboute the missing code $(document).ready(function(){ $(#client).autocomplete(data.json, {

[jQuery] Re: Autocomplete - every item shown regardless of letter typed

2008-09-03 Thread Jörn Zaefferer
Well, when using remote JSON, your server code has to do the filtering. Your server returns all results, so the autocomplete displays them all. Here are several demos with local JSON, which may be closer to what you are looking for. You can even get the JSON via Ajax, then use it to initialize

[jQuery] Re: Autocomplete - every item shown regardless of letter typed

2008-09-03 Thread Jörn Zaefferer
Okay. Can you post a testpage? Jörn On Wed, Sep 3, 2008 at 1:13 PM, JD [EMAIL PROTECTED] wrote: Hi again! hehe, it was just a typo from me when I pasted the code... The above code should be correct. Anyhow, I get all the data from JSON, but if I type D, every single item from the file

[jQuery] Re: Autocomplete - every item shown regardless of letter typed

2008-09-03 Thread JD
Here is a test: http://aasenboligdesign.no/test/test.htm JD On 3 Sep, 15:43, Jörn Zaefferer [EMAIL PROTECTED] wrote: Okay. Can you post a testpage? Jörn On Wed, Sep 3, 2008 at 1:13 PM, JD [EMAIL PROTECTED] wrote: Hi again! hehe, it was just a typo from me when I pasted the code...