I want to replace selected text(or insert new text after cursor position if nothing is selected). The new text is entered from another textbox. I want to be able to in
This is alternative solution based on answers from above and more ideas. For IE only (other browsers support this functionality by default).
More testing is needed (I tested it just in IE8)