Displaying 1 result from an estimated 1 matches for "jsaction".
Did you mean:
jbaction
2007 Sep 28
1
evalJSON problem
...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(){ alert(''Something went wrong...'') }
});
and in ''myactions.php'' :
$textarea= "<textarea id=''MyTextarea'' name=''MyTextarea''>
$txtareacontent</textarea>\\n";
heade...