success: function (data) {
var classifylist = data;
var selectoption = '<option value="">选择分类</option>';
for (var i = 0; i < classifylist.length; i++) {
selectoption += "<option value=" + classifylist[i].classifyid + ">" +
classifylist[i].classifyname +
"</option>";
}
$('#classifyid').html(selectoption);``
dede
最新推荐文章于 2024-04-12 10:56:42 发布