Any ideas? I've been looking for a solution for hours.
Thought: I'm sure there is a javascript function to insert text into a string (innerHTML) at a certain location, however, how do I retrieve the current location of the insertion point?
This is done in Gecko browsers (NS6+, Mozilla, etc) via the selectionStart property of a textarea - it refers to the start of the selection (a caret could be considered a collapsed selection).
Bookmarks