Forums

Problem ajax text area wysiwyg

ideagrup 22 Jul, 2015
I have a ajax event where i put a value depending

If text area is NOT wysiwyg is running OK but if text area is wysiwyg no running.

<?php
$pieca = 'Per a qualsevol pregunta o dificultat no dudtin en contactar amb nosaltres a la adreça de correo electrònic: info@fundacionshe.org<br>Saluts Cordials<br><br><br><img src="http://www.programasi.org/images/logo_ca.png">' ;

echo json_encode($pieca);

?>

Is there any methode for do it??
GreyHead 22 Jul, 2015
Hi ideagrup,

Possibly using custom JavaScript to set the value of the text area. You'll need to check the documentation for the WYSYWYG Editor. There's a method for TinyMCE in this StackOverflow answer

Bob
This topic is locked and no more replies can be posted.