解决高亮度显示内容问题(onFocus)
<script language="JScript">
function MyFocus(obj)
{
obj.value += '';
var rng = obj.createTextRange();
rng.moveStart("character", obj.value.length);
rng.collapse(true);
rng.select();
}
</script>
<input>
<input name=test value="abcdfdf" onfocus="MyFocus(this)">
posted on 2006-12-19 15:12
Stellar.He 阅读(184)
评论(0) 编辑 收藏