Revision: 37086
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 3, 2010 18:25 by FatFolderDesigner
Initial Code
tinyMCE.triggerSave();
Initial URL
http://fatfolderdesign.com/60/code/javascript-auto-submit-tinymce-fix
Initial Description
Since tinyMCe doesn't transfer it's editor contents to the text area until you hit the submit button, and since the autosubmitter doesn't ever hit the submit button TinyMCE boxes never save. IT's a simple fix, just place the code on line 2, at the very top of the as function, and it will tell TinyMCE to save. This line should not be there if you don't have TinyMCE integrated in your site as it'll just cause javascript error. This fix is in reference to this Snipplr: <a href="http://snipplr.com/view/44799/ajax-form-autosubmit/">http://snipplr.com/view/44799/ajax-form-autosubmit/</a>
Initial Title
AJAX Form Autosubmit TinyMCE fix
Initial Tags
javascript
Initial Language
JavaScript