You should look at this little how to i made .. it emualtes whats happening 
on google suggest

http://proto-scripty.wikidot.com/prototype:how-to-throttle-ajax-requests

The php side of it is simple, if you need me to add it to the howto then 
please let me know

Reagrds
Alex
----- Original Message ----- 
From: "shef" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Monday, November 10, 2008 7:13 PM
Subject: [Proto-Scripty] Getting Autocompleter to work like google suggest


>
> I'm struggling to get the Autocompleter to work like Google Suggest.
> Here's the behavior I want:
>
> - User types chars, sees suggestions
> - If user hits enter, then only the chars he's typed get submitted
> (that is, any suggestions are ignored)
> - Suggestions are not highlighted until he selects one
> - To select a suggestion, he hits the down or up arrow, or clicks a
> suggestion with the mouse
> - When a suggestion is selected, it replaces the text in the search
> box.
>
> I think we can get all this with two small changes: leave the
> highlight off by default, and give us a javascript callback that fires
> whenever the current suggestion row changes.
>
> Anyone know if it's possible to do what I want without major surgery?
>
> I see there's been some discussion of this problem here, but no real
> resolution:
>
> http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/2e059019b77413b8/af0604f83d6efaf1?lnk=gst&q=autocomplete#af0604f83d6efaf1
>
> >
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to