<script language=javascript>
function aft()
{
var e = event.srcelement;
var r =e.createtextrange();
r.movestart('character',e.value.length);
r.collapse(true);
r.select();
}
</script>
<input type=text name=text1 value=字符串之后 onfocus=aft()>
---------------------------------------------------------------
<input onfocus=after2(this) value=在字符串地后门>
<script language=javascript>
function after2(obj)
{
var rng=obj.createtextrange()
rng.setendpoint(starttoend, rng);
rng.select();
}
</script>
中国足彩网信息请查看IT技术专栏