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

Where Did The Text Selection Api Go?

Two years ago the HTML5 standard dropped the chapter 'Text Selection API' which contained a… Read more Where Did The Text Selection Api Go?

In Selection, Can The Focusoffset Be Before The Anchoroffset?

In programmatically defining a range/selection in JavaScript, is it not possible to have the focusO… Read more In Selection, Can The Focusoffset Be Before The Anchoroffset?

Get Text Select That Runat="server"

1 2 3 alert($( Solution 1: Ok you are a bit weird and you are helping us less each time you answ… Read more Get Text Select That Runat="server"

Multiple Item Selection By Pressing Ctrl Button

Currently my function looks like that http://jsfiddle.net/tt13/5CxPr/13/ as you see, now when I cl… Read more Multiple Item Selection By Pressing Ctrl Button

Javascript Contenteditable - Wrap Cross-tag Selections

I'm experimenting a bit with contentEditable and encountered this issue: I have the following j… Read more Javascript Contenteditable - Wrap Cross-tag Selections

Prevent Javascript Window.getselection() Circular Reference

See this demo (dependent on selectionchange event which works in Chrome only at this moment): http:… Read more Prevent Javascript Window.getselection() Circular Reference