日期:2014-05-16 浏览次数:20434 次
?? function getSelectPos(objId){
var esrc = document.getElementById(objId);
?if(esrc==null){
??? esrc=event.srcElement;
?}
?var rtextRange =esrc.createTextRange();
?rtextRange.moveStart('character',esrc.value.length);
?rtextRange.collapse(true);
?rtextRange.select();
?}