createTextRange //IE && selection对象

$.browser.msie 判断ie

setSelectionRange(start,end) 设置光标定位

原文地址:https://www.cnblogs.com/lhx5213/p/14371539.html