$oFCKeditor = new FCKeditor('evenement_description_courte');
$oFCKeditor->BasePath = '/fckeditor/';
$oFCKeditor->Value = '';
$oFCKeditor->Create();
$oFCKeditor1 = new FCKeditor('evenement_description');
$oFCKeditor1->BasePath = '/fckeditor/';
$oFCKeditor1->Value = '';
$oFCKeditor1->Create();
$oFCKeditor2 = new FCKeditor('evenement_lieu');
$oFCKeditor2->BasePath = '/fckeditor/';
$oFCKeditor2->Value = '';
$oFCKeditor2->Create();
function checkAddEvenement(id_form){
oEditor = FCKeditorAPI.GetInstance("evenement_description_courte") ;
oEditor2 = FCKeditorAPI.GetInstance("evenement_lieu") ;
evenement_description_courte = oEditor.GetHTML();
evenement_lieu = oEditor2.GetHTML();
erreur = "";
if (evenement_description_courte.length > 200){
erreur = "Votre Description contient trop de caractere ("+evenement_description_courte.length+")";
alert(erreur);
}else if(evenement_lieu.length > 128){
erreur = "Le Lieu contient trop de caractere ("+evenement_lieu.length+")";
alert(erreur);
}else{
submitForm(id_form);
}
}
oEditor2 is undefined
[Break on this error] evenement_lieu = oEditor2.GetHTML() ;

Re: oEditor is undefined... : Probleme in JS verification
var evenement_description_courte = FCKeditorAPI.GetInstance("evenement_description_courte").GetHTML();Re: oEditor is undefined... : Probleme in JS verification