function tofocus(itemname) //按回车置下一个位置
{
var a
a=eval("document.vouch."+itemname)
a.focus()
}
{
var a
a=eval("document.vouch."+itemname)
a.focus()
}
在控件中使用onkeypress="javascrip:if(window.event.keyCode==13){tofocus('nextformname')}提取下一个控件名
(出处:开发者俱乐部)
博客介绍了在控件中使用onkeypress提取下一个控件名的方法,代码为onkeypress=\javascrip:if(window.event.keyCode==13){tofocus('nextformname')}\,并注明出处为开发者俱乐部。
1万+

被折叠的 条评论
为什么被折叠?



