/dev/random

Text

NOTA: Hack para actualizar el textarea en fckeditor con ajax

//Hack para actualizar el textarea de fckeditor
$(‘.update_fck’).click( function() {

function FCKClass()
{
this.UpdateEditorFormValue = function()
{
for ( i = 0; i < parent.frames.length; ++i )
{
if ( parent.frames[i].FCK )
{
parent.frames[i].FCK.UpdateLinkedField();
}
}
}
}   

var updateFCK = new FCKClass();

updateFCK.UpdateEditorFormValue();   
});

**Ponerlo aparte y no en las opciones del post ajaxeoso

Posted on Tuesday, February 9 2010. Tagged with: codigonotashacks
/dev/random
Previous Next