标签:color ar html sp on ad htm c 服务器
1、var test = $(‘#<%=txtUserName.ClientID%>‘)[0].value;
alert(test);
2、把ClientIDMode 换成静态模式
<
asp:TextBox
ClientIDMode
=
"Static"
ID
=
"TextBox1"
name
=
"TextBox1"
ReadOnly
=
"True"
runat
=
"server"
Text
=
""
>
标签:color ar html sp on ad htm c 服务器
原文地址:http://www.cnblogs.com/lschenblog/p/3936580.html