document.[form name].[textarea name].value=data; does not work
$('#textareaID').val(data); does not work.
These work without the editor applied.
How can I set the value of the editor using javascript?
$('#textareaID').val(data); does not work.
These work without the editor applied.
How can I set the value of the editor using javascript?
Re: How do you set value with Javascript?
Re: How do you set value with Javascript?
Did you read the FAQ:
viewtopic.php?f=11&t=17301
Re: How do you set value with Javascript?
can be used in ANY js file as long as it comes after ckeditor.js is loaded in the header. Correct?