Not getting post value of textarea when using TinyMCE

html, jquery, php, tinymce

Solution

Looks like you need to call `tinymce.triggerSave()` right before you submit your form.

Problem

Im using TinyMCE here is my code :- ``` tinyMCE.init({ // General options mode : "textareas", theme : "advanced" }); ``` and here is my html code:- ``` <textarea name="terms" id="elm1" rows="15" cols="30" width="100%" ></textarea> ``` the problem is that im not getting a post value of this textarea when im doing something like this :- ``` print_r($_POST['terms']); ```

Original source