15 - multiple dropdowns; changing one dropdown menu based on change in another in Javascript

Опубликовано: 16 Октябрь 2024
на канале: Become a Web Developer
7,093
18

Here is the code used in this video:
https://pastebin.com/n89uLDKu
And here is the CSS file I used:
https://pastebin.com/Su5uRU0S

How do you change one dropdown menu based on selection in another dropdown menu? When we use multiple dropdown menus (or select menus, that have option tags) we can use two jquery events to handle changes: the .change() method or the .on('change' method. If you use a newer version of jQuery you may discover that the .change method is not working. Watch this video to find out how to fix this problem related to manipulating select menus in javascript, jquery and node.js. #javascript #jquery #dropdown #menu #multiple #change