I am developing a country state cascading dropdown list... I returned json result based on countryId but I don\'t know how to populate/fill it in a new dropdown
countryId
try this one its worked for me
$(document).ready(function(e){ $.ajax({ url:"fetch", processData: false, dataType:"json", type: 'POST', cache: false, success: function (data, textStatus, jqXHR) { $.each(data.Table,function(i,tweet){ $("#list").append(''+tweet.first_name+''); });} }); });