Topic: How to reset tinyMCE fields in a form using RJS?
I want to reset a form using RJS, but page[:comment_form].reset is not able to reset the tinyMCE fields.
i went to tinyMCE's forum and found this post http://tinymce.moxiecode.com/punbb/view
pid=10748, it uses the following code to clear the field,
tinyMCE.execCommand('mceAddControl', true, 'editor_content');
but i dont know how to make use of that code inside RJS.
can someone help me?