Javascript plugin for cross-browser range
Is there cross-browser javascript plugin (jquery/any js library) for handling ranges, especially Firefox's range object(https://d开发者_JS百科eveloper.mozilla.org/en/DOM/range) and Internet Explorer's TextRange (http://www.webreference.com/js/column12/trmethods.html)?
Thanks Srikanth
UPDATED 15 July 2012
I''ve written one called Rangy: http://code.google.com/p/rangy. A now-abandoned project with similar goals is IERange, which provides a DOM Range
wrapper around IE's TextRange
.
精彩评论