2010-01-20 50 views

回答

6
<body onload="document.getElementById('myTextBox').focus();"> 

或jquery的

$(function() { $('#myTextbox').focus(); }); 
2

通過jQuery

$(function() { 
    $("#Username").focus(); 
});