Hola, tengo un problema al momento de querer guardar el contenido de un Rich Text Form, el caso es que al momento de guardar el contenido, solo me guarda el texto que le puse por defecto, y en caso de quitarselo no guarda nada, aqui el codigo
Código PHP:
<script language="JavaScript" type="text/javascript">
<!--
function submitForm() {
//make sure hidden and iframe values are in sync before submitting form
updateRTE('rte1'); //use this when syncing only 1 rich text editor ("rtel" is name of editor)
//updateRTEs(); //uncomment and call this line instead if there are multiple rich text editors inside the form
alert("Valor Enviado: "+document.form_nuevo_enlace.detalles.value) //alert submitted value
return true; //Set to false to disable form submission, for easy debugging.
}
//Usage: initRTE(imagesPath, includesPath, cssFile)
initRTE("rte/images/", "rte/", "rte/rte.css");
//-->
</script>
<script language="JavaScript" type="text/javascript">
<!--
//Usage: writeRichText(fieldname, html, width, height, buttons, readOnly)
writeRichText('detalles', 'Aquí "<em>Escribir</em> <b>descripción del enlace</b>"', 400, 200, true, false);
//-->
</script>
mas unos includes en el head, se supone que "detalles" es la variable que debo guardar con su contenido en la ddbb.
Alguien ha manejado RFT???
Saludos