range.selectNode() is only worth a damn if you actually know what element to select and add to the selectNode() parameter - what if the page is dynamically created and what if the user selects stuff randomly as they do. How the hell are you supposed to know what elements he selected and how does one get all the nodes of the user's defined selection range only.
- or -
i don't know what im talking about - but I have searched ad nauseum asked across many forums and got 100% nowhere on this question.
here is my code:
alert(x.length) // always 0