window.onload = function(){
document.getElementsByName('userName')[0].focus();
}
JavaScript_页面加载后,光标定位到输入框
最新推荐文章于 2024-06-05 14:57:08 发布
window.onload = function(){
document.getElementsByName('userName')[0].focus();
}