为何服务器控件TextBox的客户端onchange事件是在TextBox控件失去焦点才发生?而不是在TextBox4中输入每一个字符后就立即发生onchange事件?
TextBox4.Attributes.Add("onchange", "TextBox4_onchange()");
function TextBox4_onchange()
{
document.getElementById('TextBox6').value=document.getElementById('TextBox4').value;
}
编程论坛
ASP.NET技术论坛
为何服务器控件TextBox的客户端onchange事件是在TextBox控件失去焦点才发生?
foshan
发布于
2007-12-14 12:41,
1433 次点击