I've done a sort of cheater's combo box before with Prototype. All I do is add an option to the end of a regular select that reads Add new..., and then if that gets selected, I replace the entire select with a same-name text input box. It's very simple. Let me know if you want it and I'll dig out the code.
Walter On Nov 6, 2007, at 1:25 PM, alfatek wrote: > > I didn't saw that. But I don't want to use extJS in my application. > > I tried to build one custom combox, without luck. It's a bit tricky to > do, and even harder to make it more "general" for a library/toolkit > use :) > > If anyone wants to try to do it, I'll be glad to use it :) > > -- alfatek > > > On Nov 6, 2:41 pm, "Brian Williams" <[EMAIL PROTECTED]> wrote: >> I presume it's compatible with pt and scriptaculous because if you go >> to the data grid editor, but I haven't really done a *lot* of looking >> around >> >> http://extjs.com/deploy/dev/examples/grid/edit-grid.html >> >> you'll see a drop down to use different JS libs: jQuery, Yahoo, >> prototype or stand alone. >> >> On Nov 6, 2007 9:17 AM, alfatek <[EMAIL PROTECTED]> wrote: >> >> >> >>> Hi, >> >>> Does anyone know of anyone that already done a combobox similar >>> to the >>> one that exists in extJS:http://extjs.com/deploy/dev/examples/ >>> form/combos.html >> >>> I'm looking, obviously, for an implementation based in prototype :) >> >>> Any ideas? >> >>> Thanks in advance, >>> alfatek > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
