I have a layered form that I wish to paste text into the fck editor using javascript. how can I do this.
on htmlarea i used to use this.
myhtmlarea.focusEditor()
myhtmlarea.insertHTML("<br /" + SelValue + "<br />")
but how to do this on fckeditor? I have tried all sorts of combinations. I am using the asp to create the editor like so..
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = sBasePath
oFCKeditor.Create "messagebody"
any assistance with this matter is appreciated.
cheers
on htmlarea i used to use this.
myhtmlarea.focusEditor()
myhtmlarea.insertHTML("<br /" + SelValue + "<br />")
but how to do this on fckeditor? I have tried all sorts of combinations. I am using the asp to create the editor like so..
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = sBasePath
oFCKeditor.Create "messagebody"
any assistance with this matter is appreciated.
cheers
RE: javascript insert innerhtml