日期:2014-05-16 浏览次数:20928 次
<script language =javascript>
function getdept(){
var a=window.showModalDialog('selectDepartment.aspx');
if(a!=null)");
document.all('txtUserName').value=a;
}
</script>
<input type="button" value="获取部门" onclick="getdept()"/>