当前位置: 代码迷 >> ASP.NET >> 怎么在.aspx页面里 给TextBox添加JS事件
  详细解决方案

怎么在.aspx页面里 给TextBox添加JS事件

热度:8840   发布时间:2013-02-25 00:00:00.0
如何在.aspx页面里 给TextBox添加JS事件
如何在.aspx页面里 给TextBox添加JS事件
我想在TextBox 添加JS 的onFocus="WdatePicker({isShowClear:false,readOnly:true})"
这个事件

------解决方案--------------------------------------------------------
Page_Load

TextBox1.Attributes.Add("onfocus","WdatePicker({isShowClear:false,readOnly:true})");
  相关解决方案