日期:2014-05-18  浏览次数:20398 次

如何在.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})");