Hi
Is it possible to access the content of the editor via javascript in order to pass the content between windows. I want to open up the editor in a popup and when editing complete pass the contents back to a form field on the opening window., eg. on button click something like
window.opener.inputform.body.value=FCKeditor.content
Thanks
Regards
Glen
Is it possible to access the content of the editor via javascript in order to pass the content between windows. I want to open up the editor in a popup and when editing complete pass the contents back to a form field on the opening window., eg. on button click something like
window.opener.inputform.body.value=FCKeditor.content
Thanks
Regards
Glen
RE: Accessing content of editor via javascript
frames[0].objContent.DocumentHTML = "something"
this code is in executed the same window where
the editor is
RE: Accessing content of editor via javascript
window.opener.inputform.body.value=frames[0].objContent.DOM.body.innerHTML
got me what I wanted.
Regards
Glen
RE: Accessing content of editor via javascript
RE: Accessing content of editor via javascript
I simple did the following change...
$oFCKeditor->Value = '$variable' ;
to
$oFCKeditor->Value = "'.$variable.'" ;
now (thats life) i have another problem.
I do not see the greek language. Any help?
Re: Accessing content of editor via javascript