在网页加载完毕时给文本框添加焦点

function setFocus()
{
document.getElementById('text1').focus()
}

posted @ 2014-03-23 11:00  白小呆阿武哒  阅读(233)  评论(0)    收藏  举报