Hi all,
First, I thanks FCKeditor's team, FECEditor is very good for my product.
I have a little problem with FCKEditor.
When I submit form, I don't want the form post FCKEditor's value, but I can't clear value or change value or disabled Editor.
Can you help me!
Thanks.
My code create FCKEditor by php code:
Code when submit form by javascript:
I only get 3 alert message 'Hello every body';
First, I thanks FCKeditor's team, FECEditor is very good for my product.
I have a little problem with FCKEditor.
When I submit form, I don't want the form post FCKEditor's value, but I can't clear value or change value or disabled Editor.
Can you help me!
Thanks.
My code create FCKEditor by php code:
<?php $obj_fckeditor = new FCKeditor('FCKeditor1') ; $obj_fckeditor->BasePath = '/js/fckeditor/' ; //$obj_fckeditor->ToolbarSet = 'MyToolbar'; $obj_fckeditor->Height = '99%'; $obj_fckeditor->Value = 'Hello every body'; $obj_fckeditor->Create() ; ?>
Code when submit form by javascript:
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1'); oEditor.SetData('Thank you.') ; alert($('FCKeditor1').value); alert(oEditor.GetHTML()); alert(oEditor.GetData());
I only get 3 alert message 'Hello every body';