母版页导致js 获取不到'document.getElementById("...").value 或 document.all("...").value

来源:互联网 发布:淘宝u站排行榜 编辑:程序博客网 时间:2024/05/21 21:44

母版页导致js 获取不到'document.getElementById("...").value 或 document.all("...").value

 

解决方法:

 

var strName=document.all.<%=this.tbUsername.ClientID %>.value;