"Piotrek W" <piotrek_w_@poc zta.onet.pl> wrote in message news:<bgtd14$sg p$1@news.onet.p l>...
[color=blue]
> How to write some text into current document at text coursor position?[/color]
You could use some ranges, see below (tested IE5.5 and Mozilla 1.3).
The example uses document.onclic k for simplicity, but you could also
use some more advanced triggers (storing the mouse position for IE in
a mousemove handler, and grabbing the rangeParent/rangeOffset from the
mousemove evt object for Gecko).
Comment