[jQuery] Re: Clickable autocomplete, like google

2009-09-23 Thread theosoft
My solution: Since I'm using PHP 5.2+, I'm able to use the json_encode function like this: while($speaker = mysql_fetch_object($speaker_query)){ $encodable[] = $speaker; } $encoded = json_encode($encodable); echo $encoded; Then, in the javascript function: var searchurl = $("#speaker

[jQuery] Re: Clickable autocomplete, like google

2009-09-23 Thread theosoft
I'm sort of trying to do the same thing and I got it working, to an extent. The only problem is that I'm not using JSON and when I tried to use JSON, it didn't display any search results, even though Firebug showed the results were working. I'm using a php backend. Here's what I have in my javas

[jQuery] Re: Clickable autocomplete, like google

2009-09-07 Thread Patrick Wolf
Ladksak, try to set the option matchContains to true. Regards Patrick On Sep 3, 5:59 pm, ladksak wrote: > the problem is that i need it to work with the script i posted the > link > > thats because the UIAutocompleteis not as good... > if i type "ODE" in the ui he doesn't show CODE > > i need

[jQuery] Re: Clickable autocomplete, like google

2009-09-04 Thread ladksak
nobody knows? :p On 3 set, 12:59, ladksak wrote: > the problem is that i need it to work with the script i posted the > link > > thats because the UI Autocomplete is not as good... > if i type "ODE" in the ui he doesn't show CODE > > i need it to "ODE" show CODE and ODESSA, like he could find th

[jQuery] Re: Clickable autocomplete, like google

2009-09-03 Thread ladksak
the problem is that i need it to work with the script i posted the link thats because the UI Autocomplete is not as good... if i type "ODE" in the ui he doesn't show CODE i need it to "ODE" show CODE and ODESSA, like he could find the string in any part of the keywords and highlight that thats w

[jQuery] Re: Clickable autocomplete, like google

2009-09-02 Thread Jörn Zaefferer
Based on http://plugins.jquery.com/project/autocompletex $("#search").autocomplete("/searchAutocomplete", { dataType: "json", parse: function(data) { return $.map(data, function(row) { return { data: row,