使用focus方法让光标默认停留在INPUT框
摘要:
<body onload="document.getElementById('inputTxt').focus()"> <input type="text" id="inputTxt" />
【使用focus方法让光标默认停留在INPUT框】相关文章:
★ JavaScript中用toString()方法返回时间为字符串
★ JavaScript中用getDate()方法返回指定日期的教程
★ JavaScript的正则表达式中test()方法的使用