so now i am using TinyMCE rich text editor

there is a 'SAVE" plugin for TinyMCE



it is basically calling the form.submit() method from the inclosing <form> element


here is the code fragments


formObj = tinymce.DOM.get(ed.id).form || tinymce.DOM.getParent(ed.id, 'form');

           if (formObj) {
               ed.isNotDirty = true;

               if (formObj.onsubmit == null || formObj.onsubmit() != false)
                   formObj.submit();


           } else


the codes works perfectly fine with plain HTML


but execute the code with in <t:form> will result in following error

   formObj.submit is not a function
(function(){tinymce.create('tinymce.plugins.Save',{init:function(ed,url){var t=t...



any suggestion???

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to