From: PEOPLES, M. P (ATTSI) <mp...@at...> - 2011-02-22 13:21:37
|
Does anyone know of code or a module where I could examine the code, to do the following? - Create a drop down box populated with a list of items of which one and only one is selected. I already have this via ui_select subroutine. - Use the currently selected item in the list above as a "filter" (in this case it will be part of the WHERE clause of an SQL SELECT statement) to populate a list - If user changes the selected value in the drop down box, then the list is repopulated with new values. I know that this will involve the use of JavaScript and I have already tried to fuse some ui_select code with some ui_multi_select code. I realize the multi_move function does not do what I'm asking for here, but the fact that it dynamically redisplays values in the right (options) list is not too far off what I am trying to do here. I've also looked through many modules for this type of function (so I could see an example), but could find none. I'd like to put this into a subroutine that I can call with parameters that would define both the drop down box and list, essentially a union of ui_select and a single list version of ui_multi_select. Rather than spend hours (days) trying to figure this out on my own, I thought someone might know how to do this. Thanks. Michael Peoples Senior Systems Manager AT&T - ATTSI Office: 614-789-8559 Cell: 614-886-0923 FAX: 614-789-8975 mpe...@at... This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited." |