编程论坛
注册
登录
编程论坛
→
ASP.NET技术论坛
textbox怎么获得焦点啊?
yunj1105
发布于 2007-07-17 11:59, 667 次点击
RT
3 回复
#2
mldark
2007-07-17 12:13
应该是在keypress事件中加入:
if key=chr(13)&&判断是否输入回车键
thisform.text1.value=""
thisform.text1.setfocus
endif
#3
冰彩虹
2007-07-17 12:26
this.TextBox1.Focus();
#4
yunj1105
2007-07-17 15:14
谢谢各位
1