views:

17

answers:

1

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?

+1  A: 

Use insertHtml() or insertText() method.

Anpher