Forum: Ruby on Rails Fast lookup in drop down menu using javascript

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
934f858e451cf9b771996b2940cd696b?d=identicon&s=25 Raj Singh (dorelal)
on 2007-01-17 15:27
(Received via mailing list)
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
A2c85dc5ee81b12e3cc0a6522e8d079d?d=identicon&s=25 Chris Hall (au5lander)
on 2007-01-17 16:58
(Received via mailing list)
934f858e451cf9b771996b2940cd696b?d=identicon&s=25 Raj Singh (dorelal)
on 2007-01-17 19:00
(Received via mailing list)
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.
This topic is locked and can not be replied to.