日期:2014-05-16  浏览次数:20260 次

document对象有createRange()方法吗?有的话,是什么意思?
document对象有createRange()方法吗?有的话,是什么意思?

------解决方案--------------------
document.selection.createRange() 根据当前文字选择返回 TextRange 对象,或根据控件选择返回 ControlRange 对象。