日期:2014-05-16 浏览次数:20356 次
onfocus="this.select();"
<input type="text" value="value" onfocus="this.focused=true;this.select();" onmouseup="if(this.focused){this.focused=false;return false;}"/>