tinyMCE.get() javascript code example
Example 1: tinymce extract value
// Get the HTML contents of the currently active editor
tinyMCE.activeEditor.getContent();
// Get the raw contents of the currently active editor
tinyMCE.activeEditor.getContent({format : 'raw'});
// Get content of a specific editor:
tinyMCE.get('content id').getContent()
Example 2: get only content from tiny mce
var myContent = tinymce.get("#myTextarea").getContent({ format: "text" });