timymce get content from database code example
Example 1: get only content from tiny mce
var myContent = tinymce.get("#myTextarea").getContent();
Example 2: get only content from tiny mce
var myContent = tinymce.get("#myTextarea").getContent({ format: "text" });