Input Text 对象
文本域获取焦点:
document.getElementById("myText").focus();
focus() 方法用于文本域获取焦点。
提示: 使用 blur() 方法让文本域失去焦点。
所有主流浏览器都支持 focus() 方法。