使用focus方法让光标默认停留在INPUT框 <body onload= "document getElementById(inputTxt) focus() "> <input type= "text " id= "inputTxt " > JavaScript 2022-04-11 46 点赞 0 评论 69 浏览