//x为文本域对象
function f_setCursorPos(x){
var txtRange = x.createTextRange();
txtRange.moveStart("character",x.value.length);
txtRange.moveEnd("character",0);
txtRange.select();
}
详细解决方案
文本域取得焦点置到内容的最后
热度:339 发布时间:2012-11-23 00:03:43.0
相关解决方案