Select2 Dependent dropdown lists
问题 I am trying to use the Select2 plugin to have 4 dropdown lists that depend on each other. I have struggled to find the right way to update the data that loads the options in. My goal is to load the new data via ajax, but once I have it in the client I am unable to add the new data to the select list. The code I have tried is here: $(#"a3").select2({ placeholder: "select an item", allowClear: true}).on("change", function (e) { var results = $.get("url?id=2", function (data, textStatus, jqXHR)