📄 p210_current_field.htm
字号:
<HTML><BODY><SCRIPT>
function defocus()
{
window.document.forms[0].two.focus(); // go to field 'two'.
}
</SCRIPT><FORM>
<! this first field is the one that is set to be workably read-only >
<INPUT NAME="one" TYPE="text" ONFOCUS="setTimeout('defocus()',1)">
<! this field's only purpose is to have somewhere else to put the focus >
<INPUT NAME="two" TYPE="text">
<SCRIPT>
// to start with, put the focus in element 'two':
document.forms[0].two.focus();</SCRIPT>
</FORM></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -