用ClientID来获取对象,把代码修改为: var txt= "<%=txtSupplyer.ClientID%>"; var v = document.getElementById(txt).value;
本文共 169 字,大约阅读时间需要 1 分钟。
用ClientID来获取对象,把代码修改为: var txt= "<%=txtSupplyer.ClientID%>"; var v = document.getElementById(txt).value;
转载于:https://www.cnblogs.com/siri/archive/2013/01/31/2888177.html