Link to home
Start Free TrialLog in
Avatar of dzash2000
dzash2000Flag for United States of America

asked on

multi-tier dynamic drop down list

Hi- Total noob here.
I need to have a drop down list that populates a second drop down list which then populates a third drop down list.  For example: the first might have 3 options [A,B,C].  The next would have options loaded according to the selection of the first. For example [A1,A2,A3] or [B1,B2,B3,B4,B5] or [C1,C2].  When the 2nd list's selection is made, the third list is populated accordingly.  So the third list might have lists like this waiting to be loaded - [A1a,A1b,A1c] or A2a,A2b] or [B1a,B1b,B1c] and so on.  I hope this makes sense to someone.

I have NO idea how to make this work with javascript, asp, ajax or anything.  It will be on an aspx webpage but the data that fills the lists cannot be from a server - unless you can explain how I can do that in development.  (Sorry for being so helpless).

I've seen examples of one dropdown populating a second but they don't go to the third tier.  These examples had the options hard-coded into the javascript... and that was OK with me.

I would be grateful for any leads to tutorials or examples of the 3 tier thingy I've described.

TIA your expert input.

J2
Avatar of spprivate
spprivate
Flag of United States of America image

Not sure if i understood correctly.
You select dd1 say countries
You populate another dd say states
You select one state,then third dd say cities populate the third one.correct.
Avatar of dzash2000

ASKER

spprivate - thanks for the reply.  Yes.  Your description is accurate.
ASKER CERTIFIED SOLUTION
Avatar of spprivate
spprivate
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
spprivate - thanks for the link. It was simple enough for me to see what was going on but I had to figure out how to go to the 3rd tier (your example only showed 2 ).  However because the example was simple and clear I actually WAS able to work it out myself - so you made me work at it and now I feel smarter!!  Thanks.
Thanks - while the example doesn't go to the third tier as I had needed it does provide enough info in a simple enough example so that I could actually work out the 3rd tier on my own.  I now feel like I'm smarter than before!
D2