document.getElementById("vin").focus();document.form1.name.focus() $(document).ready(function(){ document.getElementById("carnum").focus(); });
js中的focus()聚焦
原文:http://www.cnblogs.com/baijin05/p/5040397.html