Skip to content Skip to sidebar Skip to footer
Showing posts with the label Textselection

Javascript / Jquery: How To Get Selected Text In Firefox

How can I get the selected text (in a contenteditable div) in Firefox ? It would be enough for rece… Read more Javascript / Jquery: How To Get Selected Text In Firefox

With Rangy, Even Though I Extend The Range By Setstartbefore Method, Range.cansurroundcontents Method Still Returns False

I have the following html: Morbi quis augue vitae quam pharetra| varius at at| urna. The selecti… Read more With Rangy, Even Though I Extend The Range By Setstartbefore Method, Range.cansurroundcontents Method Still Returns False