So I’ve got this @Html.DropDownList("Thangs") inside of a hidden div. When the user clicks a link to expose the div, I want to make an AJAX call to grab the things that should be in the list. It will be returned as JSON. How would I bind the incoming JSON objects as name/values into the DropDownList using jQuery?
So I’ve got this @Html.DropDownList(Thangs) inside of a hidden div. When the user clicks
Share
you have not posted any sample json so
here is the DEMO