Re: Idea for a new Package - Chained Selectors
| From: | Ammar Ibrahim | Date: | Sat, 18 Sep 2004 11:21:11 +0000 |
| Subject: | Re: Idea for a new Package - Chained Selectors | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33430@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
On Sat, 18 Sep 2004 02:09:54 +0200, Ammar Ibrahim <ammar@gnuix.com> wrote:Greetings, After being frustrated, and haven't exactly found what I need. I'm proposing a New package. I'm new to PEAR. So I'll start the discussion here, and then write a proper proposal. Please advise me on what I should/shouldn't do. The problem is that sometimes you want to have to drop down menus( <SELECT> ) When the user selects a value in one drop down, it would automatically populate a "Chained" Drop down. Without a page refresh ofcourse. It should be done one the client side, using Javascript. That's the basic description for now. Please give me your comments/FeedbackI believe HTML_QuickForm's hierselect element type already does this. Looks like hierselect is limited to one chained Selector. I'm thinking of making unlimited Selectors. And "Probably" one Selector could have more than one "Child" at the same level.