hello,
I use fckeditor with ajax and php.
i create a function in a class to load fckeditor.
here it is :
i load a form in a webpage with ajax and in it i load my fck editor like this
I write a text in fck.
when i submit my form in a normal form in a test web page there is no problem (without loading and submiting by ajax)
but
when i load the form by an ajax web page and when i submit the form with an ajax function like Ajax.updater from prototype the value is not transmit when i do a
to see what value is submited from my form
i don't know if what i'm saying is clear but if you have any idea where the problem come from ???
thanks in advance
I use fckeditor with ajax and php.
i create a function in a class to load fckeditor.
here it is :
class HeadPath(){
function fckEditor($InputName,$value="",$width="100%",$height="200"){
$oFCKeditor = new FCKeditor($InputName);
$oFCKeditor->Width = $width ;
$oFCKeditor->Height = $height ;
$oFCKeditor->Config["AutoDetectLanguage"] = true ;
$oFCKeditor->Config["DefaultLanguage"] = "fr" ;
$oFCKeditor->ToolbarSet = 'Basic';
$oFCKeditor->Value = $value;
$oFCKeditor->Create() ;
}
}
i load a form in a webpage with ajax and in it i load my fck editor like this
$headF= new HeadPath();
<form id='NouveauProjet' name='NouveauProjet' enctype='multipart/form-data' method='post' action='#' >
$headF->fckEditor("resultatAttenduTest",$resultatAttendu,"100%");
<input type='button' name='ajouterTest' id='ajouterTest' value='ajouter le test' ".$JScriptBouton.">
</form>
I write a text in fck.
when i submit my form in a normal form in a test web page there is no problem (without loading and submiting by ajax)
but
when i load the form by an ajax web page and when i submit the form with an ajax function like Ajax.updater from prototype the value is not transmit when i do a
var_dump($_REQUEST)
to see what value is submited from my form
i don't know if what i'm saying is clear but if you have any idea where the problem come from ???
thanks in advance

Re: problem to submit value from fckeditor
http://docs.fckeditor.net/FCKeditor_2.x ... AjaxSubmit