I had successfully installed CKeditor plugin on a textarea in Html view in a codeingiter project.
the problem that I use "ajax" form post and it seems that the content of CKeditor textarea does not sent with other fields.
I tried this solution to add
but "firebug" show me an error message that "FCKeditorAPI is not defined" then the page redirected to a white page contains json output message.
can you help me to send content of CKeditor textarea with ajax.
the problem that I use "ajax" form post and it seems that the content of CKeditor textarea does not sent with other fields.
I tried this solution to add
var VariableName = escape(FCKeditorAPI.GetInstance('FCKEditorFieldName').GetXHTML());
but "firebug" show me an error message that "FCKeditorAPI is not defined" then the page redirected to a white page contains json output message.
can you help me to send content of CKeditor textarea with ajax.