This question is locked. New answers and comments are not allowed.
Hi Team,
Below is the code snippent for which I am getting for a scenario.
function getStates() { $.ajax({ url: "@Url.Action("GetSelectedCountryStates", "PartnerManagement")", data: {countryID: $("#CountiresComboBox").val()}, dataType: "json", type: "POST", error: function() { alert("An error occurred."); }, success: function(data) { var combobox = $('#StatesOrProvincesComboBox').data('tComboBox'); combobox.close(); combobox.dataBind(data); combobox.value("0"); combobox.open(); } }); }
In almost all the scenarios my code is working fine but when I type in child combobox to filter states
and again if I change the country then child comobo box is filling with the new values but still having
the old value selected in it.
ex: selected country -- United States with State -- Colorado( filtered through typing in state combobox)
then changed country -- India then state combobox is refreshing with Indian state but still showing
Colorado in it.