/部门下拉选单绑定数据
function
CreateDeptEntity(dataList)
{
var
select =
"#setdept";
jQuery(select).empty();
jQuery(select).append("<OPTION
value=0>请选择</OPTION>");
if (dataList != null && dataList != undefined)
{
for (var k = 0; k < dataList.length; k++)
{
jQuery(select).append("<OPTION value=" + dataList[k].DeptID + ">" +
dataList[k].DeptName +
"</OPTION>");
}
}
};
原文地址:http://www.cnblogs.com/q101301/p/3761577.html