RE: Adding Multiple Dynamic Dropdown Boxes to a GUI
I have tried to adapt DanThomas great example macro that shows how a GUI can be built using Javascript and KM's Custom HTML Prompt action.
Specifically I have 2 Dropdown Menus:
-- The first (Dropdown Menu) to select a CONTINENT.
-- The second (Dropdown Menu #2) to select a COUNTRY.
I am using the Javascript ONCHANGE action to have my choice in Dropdown Menu #1 of CONTINENT determine which choice list I get of COUNTRY's in Dropdown Menu #2. (not working.)
e.g. It is supposed to just show the European COUNTRY's if the CONTINENT chosen is Europe.
Can anyone point out my error? Dropdown Menu #2 choices are incorrectly chosen and also incorrectly "appended" instead of "replaced". Thanks.
Bootstrap HTML Prompt MODS.zip (415.4 KB)