Displaying 1 result from an estimated 1 matches for "bringeditor".
2007 Sep 28
1
evalJSON problem
...ey there,
I have a FCKeditor(a WYSIWYG online html editor) and i want to bring
it to a page by Ajax and JSON by a php request-catcher.
I have sth like this in my ajax request:
new Ajax.Request(''myactions.php'',
{
method:''get'',
parameters: {action:''bringeditor'', id:<?php echo $uid; ?>},
onSuccess: function(transport){
var response = transport.responseText;
var data = response.evalJSON();
$(''maincontent'').innerHTML=data.mytextarea;
eval(data.jsaction);*/
},
onFailure: function...