使用js的focus方法让光标默认停留在INPUT表单框 <body onload="document.getElementById('inputTxt').focus()"><input type="text" id="inputTxt" />