var range = obj.createTextRange();在EDGE下报错,存在兼容性问题,请问非IE浏览器有什么方法能得到类似range的值?
https://developer.mozilla.org/en-US/docs/Web/API/range