I'm trying to get the start element and the end element of a selection and the offset of the selection in each, i do this in firefox as follows:
var delselection = window.getSelection();
var startOffset = delselection.anchorOffset;
var endOffset = delselection.focusOffset;
var startNode = delselection.anchorNode.parentNode;
var endNode = delselection.focusNode.parentNode;
However i have no idea how to do this in IE6, anyone able to point me in the right direction?