![]() |
|
|
+ Search |
![]()
|
Dec 1st, 2001 17:12
Dave Clark, Konstantin -,
Konstantin, This may not be the answer you're looking for; because, it is not specific to a TEXTAREA. It will replace whatever text is highlighted -- no matter where it is in the displayed document area (IE only): var textRangeObject = document.selection.createRange(); textRangeObject.text = "some text"; Take care, Dave Clark