//html
<select id="selectID"></select>
//js
$.ajax({
url:'/dept/list.json',
dataType:'json',
type:'post',
success:function(data){
$.each(data,function(index,item){
$('#selectID').append(new Option(item.name,item.id));//往下拉菜单里添加元素
})
form.render();//菜单渲染 把内容加载进去
}
})