focus()与select();


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58

focus(): 控件获取焦点,如在input = text中,光标出现在文字最后。
select(); 选取文本, 在input=text中,点击后文字全部选中。