', { value: "0" }).html("City")); if (parseInt($(this).val(), 10) > 0) { $.getJSON('/institucional/helpers/buscarcidadesnoticia', { idEstado: $(this).val() }, function (result) { $(result).each(function () { ddl.append($('', { value: this.Id }).html(this.Name)); }); }); } }); });