I have some textareas and all of them are with tinyMCE.
I would like to set the content of the specific textarea, but I can\'t find how.
I have tryed this:>
I think this will solve your problem
it works fine for TinyMCE v:4..
// Sets the HTML contents of the activeEditor editor
tinyMCE.activeEditor.setContent('some html');
// Sets the raw contents of the activeEditor editor
tinyMCE.activeEditor.setContent('some html', {format : 'raw'});
// Sets the content of a specific editor (my_editor in this example)
tinyMCE.get('my_editor').setContent(data); // here my_editor is the id of a specific editor
// Sets the bbcode contents of the activeEditor editor if the bbcode plugin was added
tinyMCE.activeEditor.setContent('[b]some[/b] html', {format : 'bbcode'});
the link for the code is TinyMCE setContent