Hello all;
First of all, thank you for your posts, they have been very helpful in zero-ing in on what I need. Though I am a beginner at Javascript, I am looking for a script, very similar to the one above, but that will:
A) Dictate what appears in menu 2 is dependant on what is was selected in the menu 1, and dictate what appears in menu 3 is dependant on what was selected in menu 2 (as oposed to the one above where the first menu dictates the choices in both the second & third menu); and
😎 when a selection has been selected in each menu, the user can hit a submit button and get a preset message (1 of 3 preprogrammed based on the 3 menu item) with a gif attachment to appear right below the drop down menus.
I guess the simplest example I can give of what I am trying to do would be, for example, a person to choose a country, then if they select the USA (let's say), then menu 2 brings up the states. Then the person selects their state, & menu 3 brings up the cities & towns of that state. Then when the person selects their town, and hits the submit button, one of 3 generic responses with a gif will appear below it with, which response based on the 3rd menu choice (like, say, a service provider would say "yes", "no", or "plan to provide service" to that town, as an example).
Now, for the most part I have found scripts that perform option A, but the scripts I found are limited to only a first & second list menu. In my case, I need one that is 3 menus deep, and if I can find one like that, it will provide me with an opportunity to learn how it worked, and potentially implement it in menus that are 4 or 5 menus deep, should ever the need arise later on.
Any assistance on this would be greatful, and please feel free to private message or IM me. Thanks
Dave