I have a view which has a populated dropdownlist, I have added a button so the user can add a new dropdownlist value in a jquery modal, so when the user clicks to add the new dr
Try This
var select = $("#dropdownid"); select.empty(); $.each(data, function (index, itemData) { select.append($('<option/>', { value: itemData.Value, text: itemData.Text })); });