飘凌大杂烩
→
编程技术
→ input获得焦点后自动移动到最后
查看完整版本:
input获得焦点后自动移动到最后
xiang6963
2008/9/25 18:17:22
<script language="javascript">
function cc()
{
var e = event.srcElement;
var r =e.createTextRange();
r.moveStart('character',e.value.length);
r.collapse(true);
r.select();
}
</script>
Powered by
BBSXP 2007 ACCESS
© 1998-2025
Processed in 0.00 second(s)