Хороший день
I have a dynamically populated drop down list with list options .
Problem is that when I choose and option from the list, it applies a spacing ( ) to the left of the text as it would appear in the tree stucture
Теперь список разрабатывают в дереве stucture и называют от другого loation на сервере. Я не могу изменить интервал в этом. (так как t формирует эффект древовидной структуры),
Посмотрите на мой код ниже:
HTML
JQuery
$.ajax({
url: "API/DataHandler.ashx?method=getareatree",
contentType: "application/json; charset=utf-8",
success: function (result) {
for (var i in result) {
var obj = result[i];
$("#AreaTreeSelect").append("");
}
}
});
Это - то, как это населяет в браузере:
и т.д...
Как я удаляю пространство, когда выбор отобран показанный в избранной коробке?