Home › Forums › JavaScript › Dynamic Dropdowns › Reply To: Dynamic Dropdowns
May 18, 2016 at 7:09 am
#241830
Member
Where are you now….do you have a demo?
I’m no JS/JQ expert (barely a beginner) but it seesm to me you need to wrap in another function.
Or perhaps even separate them out.
$("#first-choice").change(function() {
$("#second-choice").load("textdata/" + $(this).val() + ".txt");
});
$("#second-choice").change(function() {
$("#third-choice").load("textdata/" + $(this).val() + ".txt");
});