Hi,
I'm pretty rusty on my javascript (actually all web languages) and I'm trying to figure out if something I need to do can be done in javascript or asp. Basically, I have one dropdown with ten different states. I have another dropdown on the same page. The second dropdown should be dynamically populated with different values depending on what value is chosen in the first dropdown (for example, if CA is chosen in state dropdown the second dropdown should have different values than if MA is chosen in state dropdown). These fields are not stored in any tables (they are just for the purposes of search criteria).
Basically, my question is if dynamically populating this second dropdown with different text values is possible in javascript (and, if so, can someone point me in the right direction for how to go about this).
Thanks,
MBaddar
I'm pretty rusty on my javascript (actually all web languages) and I'm trying to figure out if something I need to do can be done in javascript or asp. Basically, I have one dropdown with ten different states. I have another dropdown on the same page. The second dropdown should be dynamically populated with different values depending on what value is chosen in the first dropdown (for example, if CA is chosen in state dropdown the second dropdown should have different values than if MA is chosen in state dropdown). These fields are not stored in any tables (they are just for the purposes of search criteria).
Basically, my question is if dynamically populating this second dropdown with different text values is possible in javascript (and, if so, can someone point me in the right direction for how to go about this).
Thanks,
MBaddar