I am just building a form with multiple steps.
On step 3, I have a tinymce editor. On step 4 I want to generate a preview of the input from tinymce. I have problems, to get the the contents form the tinymce input box. This is my current code:
jQuery('#next_is_preview').click(function(){
alert(jQuery("#content_ifr").contents().find("#tinymce").html());
});
Currently it returns null.
What could be the issue?
Probably safest to use the TinyMCE API to get the contents i.e.