hi,
i've got the problem that the cke wont refresh the textarea and submit the new value if i submit a form with ajax.
the cke include is in the <head>, this is my replace code
if i submit the form, the hole form refreshed but the textarea only at the first time.
greets
hans
i've got the problem that the cke wont refresh the textarea and submit the new value if i submit a form with ajax.
the cke include is in the <head>, this is my replace code
var vCheck = String(0); try{ try{ vCheck += String(1); var vTypeOf = typeof(CKEDITOR.instances.'$ckeditor_name'); if(vTypeOf == 'object'){ vCheck += String(2); CKEDITOR.instances.'$ckeditor_name'.destroy(true); vCheck += String(3); } vCheck += String(4); CKEDITOR.replace($ckeditor_name); vCheck += String(5); }catch(ex){ CKEDITOR.replace($ckeditor_name); alert('ckeditor1:' + ex); } }catch(ex){ alert('ckeditor2:' + ex); }finally{ /* alert(vCheck); */ }'$ckeditor_name' is the php-var with the name of the editor
if i submit the form, the hole form refreshed but the textarea only at the first time.
greets
hans
Re: ckeditor 3.x and ajax, textarea dont refresh