I would like recover the editor's content in a javascript function in my page by clicking on a button. So, I don't submit the form.
I tried this : document.frm.FCKeditor1.value (with "frm" the name of my form) but I only recover the initial text and not all that I entered data.
Can someone help me ? Thanks.
I tried this : document.frm.FCKeditor1.value (with "frm" the name of my form) but I only recover the initial text and not all that I entered data.
Can someone help me ? Thanks.
Re: Recover content editor without posting the form
I found
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
alert(oEditor.GetHTML());
Re: Recover content editor without posting the form