📌  相关文章
📜  将焦点设置在输入字段上 javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:19.985000             🧑  作者: Mango

代码示例2
window.onload=function(){
 document.getElementById("id_here").focus();
}
// id_here = put the id of the HTML element where you want to set focus.