I am using FCKeditor_2.0b1 and I have problems to get the values from the editor to a hidden HTML form field.
What I do is:
document.forms[0].body.value = oFCKeditor.Value;
document.forms[0].submit();
But the oFCKeditor is exactly the same as before I made my changes.
What am I doing wrong or is this a known bug?
(BTW: Has anyone successfully integrated the 2 Beta?)
What I do is:
document.forms[0].body.value = oFCKeditor.Value;
document.forms[0].submit();
But the oFCKeditor is exactly the same as before I made my changes.
What am I doing wrong or is this a known bug?
(BTW: Has anyone successfully integrated the 2 Beta?)
RE: Editor change not reflected in Value propert.
i want to get the new submited data in the textarea( oFCKeditor).
i tried this:
setValue("HTMLEditor",oFCKeditor.Value); where HTMl Editor is the name of my editor:
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'HTMLEditor' ) ;
oFCKeditor.Create() ;
</script>
and :Setvalue():
function getValue(obj) {
var tempObj;
tempObj = getObject(obj);
if (tempObj)
return tempObj.value;
else
return null;
}