日期:2014-05-16 浏览次数:20295 次
function ChooseUser() {
var getVaule = window.showModalDialog("ChooseUserPage.aspx", "", 'dialogWidth=' + 900 + 'px;dialogHeight=' + 600 + 'px;help:no;dialogLeft=' + 150 + ';dialogTop=' + 50);
if (getVaule != null) {
var obj = getVaule;
document.getElementById("<%=txtUserName.ClientID%>").innerText = obj.name; //这里报错,无法找到innerText
document.getElementById("<%=hidUserID.ClientID%>").innerText = obj.ID;
}
}