Cita:
Iniciado por kokoou
En mi pagina tengo el editor fckeditor, y cuando paso variables por pst, mediante ajax por una funcion, asi:
Código HTML:
javascript:FAjax('a.php','contenido','titulo='+document.getElementById('titulo').value,'post')
No se como pasar los datos que tiene el fck, osea el value. si alguien sabe que me ayude por favor..
el fck lo declaro en php:
Código PHP:
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '/FCKeditor/';
$oFCKeditor->Value = html_entity_decode(stripslashes($copete));
$oFCKeditor->Width = '450' ;
$oFCKeditor->Height = '250' ;
$oFCKeditor->Border = '0' ;
$oFCKeditor->Create() ;
si vas a ingresar datos mediante POST en el fkc editor.. donde haces el inlcude pones asi
Código PHP:
<?php
$oFCKeditor = new FCKeditor('campo') ;
$oFCKeditor->BasePath = 'fckeditor/' ;
$oFCKeditor->Value = '<p></p>' ;
$oFCKeditor->Create() ;
?>
es tu mismo codigo pero asi deberia ir y t pasa los campos
saludos