This is a discussion on "dynamically dependent list boxes" within the Classic ASP section. This forum, and the thread "dynamically dependent list boxes are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
dynamically dependent list boxes
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
dynamically dependent list boxes
I want to create two dynamically dependent list boxes. The first one being the main which retrieves the data from the database and second one being the child. When a value in the first list box is clicked, the second one should get populated. I am not too comfortable with Arrays, is it possible to workout the solution in some other way. If possible please point me to some useful sites. Thanks in advance.
|
|
|
|
#2
|
||||
|
||||
|
Re: dynamically dependent list boxes
There are several ways to work around this, and the ruth is... it's up to you how you do it.
Method 1 Start form by showing list A. Don't show list B because you do't yet have a value for it. Submit the form whenever value in list A changes. USe the submitted value of A to populate list B. Method 2 Use CSS. I can explain this if you don't get how to use the method above. It saves having to reload the page but it's more complicated - and you need to understand some basic CSS. Or you can ignore what I said and read this: http://www.roubaixinteractive.com/Pl...t_List_Box.asp
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
![]() |
| Tags |
| dynamically, dependent, list, boxes |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2 Drop down list - auto select depending on choice from first list | ciaranleeper | JavaScript Forum | 0 | Mar 26th, 2008 10:38 |
| [SOLVED] Creating multiple dynamic list boxes from mysql database | davibugi | PHP Forum | 11 | Nov 20th, 2007 06:12 |
| Spacing between list items incorrect when span tag is used in a list item... | MikeTheVike | Web Page Design | 5 | Apr 18th, 2007 01:52 |
| Creating multiple dynamic list boxes from mysql database | phoenix211984 | Databases | 1 | Sep 27th, 2006 16:19 |
| Open a specific page dependent on what is entered into a criteria box??? | IanW | Web Page Design | 2 | Sep 15th, 2006 12:39 |