Getting HTML value from Tinymce

javascript, jquery, tinymce

Solution

if you are initilizing with jquery adaptor

 $(selector).tinyMCE().getContent();

Problem

Is there a way to get HTML contents from TinyMCE editor using jQuery so I can copy this over to another div? I tried several methods like val() on content but it doesn't seem to be working...

Original source