Hi I have problem when I need to get the content from multiple text areas. So i saw that tinyMCE has methods to take content from specific text area or from active one, but
To reach multiple tinymce instances:
http://www.tinymce.com/wiki.php/API3:property.tinymce.editors
Example:
for (edId in tinyMCE.editors)
tinyMCE.editors[edId].save();
and the best way (my opinion) would be to save the content to an array:
for (edId in tinyMCE.editors)
array[edId] = tinyMCE.editors[edId].getContent();
Tinymce stores all its editors in an array: tinyMCE.editors
.
All you need to do is to loop through them and access the content:
for (i=0; i < tinyMCE.editors.length; i++){
var content = tinyMCE.editors[i].getContent();
alert('Editor-Id(' + tinyMCE.editors[i].id + '):' + content);
}