![]() |
|
|
+ Search |
![]()
|
Dec 15th, 2001 07:04
John F, Nigil Chua, http://www.faqts.com/knowledge_base/view.phtml/aid/3194/fid/130
Can't be done for Netscape. See the referenced answer. For IE, try: var myRange = document.selection.createRange(); myRange can then be manipulated (you might especially want to use its "text" and "htmlText" attributes): myRange.text = 'blah ' + myRange.htmlText + ' blah';