It''s not strictly a rails question. It''s more of a javascript question. I have a huge drown down in the app. If the user presses ''R'' the the user is taken to items starting with ''R''. But if the next key pressed is ''a'' then the user is taken to items starting with ''a''. However the app should take the user to the items starting with ''Ra''. Is there any javascript solution that could be used here. It can''t be an auto complete. It must be a drop down. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
http://www.codeproject.com/jscript/autosearch.asp?df=100&forumid=14946&exp=0&select=646883 On 1/17/07, Neeraj Kumar <neeraj.jsr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > It''s not strictly a rails question. It''s more of a javascript question. > > I have a huge drown down in the app. If the user presses ''R'' the the > user is taken to items starting with ''R''. But if the next key pressed > is ''a'' then the user is taken to items starting with ''a''. However the > app should take the user to the items starting with ''Ra''. > > Is there any javascript solution that could be used here. > > It can''t be an auto complete. It must be a drop down. > > Thanks > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
The solution proposed in the article doesn''t work for firefox 1.5 but it does work for IE6.0 . Both the browsers were running on win xp. Thanks. On 1/17/07, Chris Hall <christopher.k.hall-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > http://www.codeproject.com/jscript/autosearch.asp?df=100&forumid=14946&exp=0&select=646883 > > On 1/17/07, Neeraj Kumar <neeraj.jsr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > It''s not strictly a rails question. It''s more of a javascript question. > > > > I have a huge drown down in the app. If the user presses ''R'' the the > > user is taken to items starting with ''R''. But if the next key pressed > > is ''a'' then the user is taken to items starting with ''a''. However the > > app should take the user to the items starting with ''Ra''. > > > > Is there any javascript solution that could be used here. > > > > It can''t be an auto complete. It must be a drop down. > > > > Thanks > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---