function fetchTowns() {
var e = document.getElementById("DistrictName");
var districtID = e.options[e.selectedIndex].value;
$.ajax({
url: '/Kalam/FetchTownsByDistrict',
data: JSON.stringify({ districtId: districtID }),
type: 'POST',
contentType: 'application/json; charset=utf-8',
success: function (data) {
$.each(data, function () {
console.log(this);
});
}
});
};