I would need to use an AJAX lookup list box, to return an id, based on
a lookup field.
It would be similar to the autocomplete control, but rendering a select
element instead of a UL, and returning the id associated with the
selected text.
The select element is nice for that because the  id is stored in the
value attribute of each  option and it has built in scrolling in case
there are many options returned.
Is there anything like this already available?
In case I have to write my own my path would be I guess:

- Derive a js object from Autocompleter.Base, overriding the methods
like onKeyPress...
- Derive an Ajax object from it
- Write a helper to use it in rails
Any suggestions are welcome


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to