摘要: 今天在开发一个asp.net的页面遇到了TextBox设置了ReadOnly属性,在js中赋值后,后台代码取不到值的情况,经过在网上查找,找到了一下几个处理办法。收藏起来。1、不设置ReadOnly,设置onfocus=this.blur()C#代码 <asp:TextBox ID="TextBox1" runat="server" onfocus=this.blur()></asp:TextBox> <asp:TextBox ID="TextBox1" runat="server" 阅读全文
posted @ 2013-03-09 15:40 tsx1230 阅读(199) 评论(0) 推荐(0)
摘要: 恭喜自己吧 阅读全文
posted @ 2013-03-09 14:24 tsx1230 阅读(83) 评论(0) 推荐(0)