function TEST_BOX1_AJOUT()
{
alert(document.FORMU_BOX.CH_NEW1.value); // first problem ! the value is not what i update; it stays the first init value 'here you go' in my exampl }
I assume that by using document.FORMU_BOX.CH_NEW1.value you are trying to retrieve the value of the editor? You can try using the editor javascript API instead to retrieve the value of the editor.
function TEST_BOX1_AJOUT() {
var oEditor = FCKeditorAPI.GetInstance('CH_NEW1');
alert(oEditor.GetXHTML(true));
}
Refer to the JavaScript API section in the developer guide for more info.
Re: my javascript fonction doesn't get the fckeditor value !
I assume that by using document.FORMU_BOX.CH_NEW1.value you are trying to retrieve the value of the editor? You can try using the editor javascript API instead to retrieve the value of the editor.
Refer to the JavaScript API section in the developer guide for more info.
Re: my javascript fonction doesn't get the fckeditor value !
i will test it.