How to save and restore anchorNode/anchorOffset & focusNode/focusOffset?
In selection, can the focusOffset be before the anchorOffset?
anchorOffset property of DOM.Selection how to restore to original CSS Why are save and restore used when tinting this image? Javascript window.getSelection().focusNode.nodeValue return with HTML How to remove and restore option from select? javascript restore style Save() and Restore() function not working? Save/ restore all javascript variables on browser back/forwd button click How to save and restore content with markers? How to save and restore the whole website using Javascript? anchorOffset is an int rather than a long in WebKit (chrome and safari) javascript : focusOffset with html tags How to "restore" onchange event javascript split the element id from window.getSelection().anchorNode.parentNode.innerHTML How to find window restore in Javascript JQUERY: save and restore attribute data how to restore the page URL in Jquery Mobile? DOM: determine if the anchorNode or focusNode is on the left side how to restore default text input look with javascript IE 8 getSelection().anchorOffset alternative Change HTML element and restore How to restore default value of text field in jQuery? Save and restore "onclick" action on jQuery objects Is it possible to change the anchornode of a textnode object? getElementById() how to restore hover Rangy: focusNode is the parent of the anchorNode Highliting text in html page having only xPath, anchorOffset and focusOffset Does anchorOffset work correctly with UIWebView? What is anchorNode , baseNode , extentNode and focusNode in the object returned by document.getSelection?