怎么改
$(document).ready(function() { $.ajax({ type: "post", url: "getdwmc", dataType: "json", success: function(data) { $('#se').append("<option value='请选择'>请选择</option>"); for (var i = 0; i < data.length; i++) { $('#se').append("<option value='" + data[i] + "'>" + data[i] + "</option>"); } } }); });回复