Displaying 1 result from an estimated 1 matches for "txtareacont".
2007 Sep 28
1
evalJSON problem
...nerHTML=data.mytextarea;
eval(data.jsaction);*/
},
onFailure: function(){ alert(''Something went wrong...'') }
});
and in ''myactions.php'' :
$textarea= "<textarea id=''MyTextarea'' name=''MyTextarea''>
$txtareacontent</textarea>\\n";
header("Content-type: text/javascript");
$jsaction= "var oFCKeditor = new FCKeditor(''MyTextarea'');\\n";
$jsaction.= "oFCKeditor.ReplaceTextarea();\\n";
echo "{mytextarea: $textarea, jsaction: $jsaction}&q...