How To Create Cascading Dropdown List

1.06K views
0

How To Create Cascading Dropdown List?

I have 2 different dropdown lists in an application form. The first dropdown is Research Area 1, the second one is Research Area 2. And both dropdowns contain the same value. I want to change the value of the second dropdown list on the selection of the value of the first dropdown list, and also the value which is selected in the first dropdown list wants to hide from the second dropdown list like Cascading Dropdown List.

The HTML Code

Research Area 1 Dropdown List

Research Area 2 Dropdown List

 

The JavaScript Code

I am using the below javascript code which is not working.

 

The CSS Style

 

 

 

 

 

htmlAdmin2609 Changed status to publish February 16, 2021
Add a Comment
Write your answer.
close