Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to perform TinyMCE Form Submission

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 58
    Comment on it

    Whenever textarea is replaced by TinyMCE, at that time it will hidden and TinyMCE editor which is an iframe is display in place of this.

    When we make standard form submission then it is handled by TinyMce. But in case of Ajax form submission,we have to do it manually and for this we have to call the triggerSave() before we submit a form.

    tinyMCE.triggerSave();
    

    Form submission is like:-

    tinymce.init({
        selector: "textarea",
        setup: function (editor) {
            editor.on('change', function () {
                editor.save();
            });
        }
    });
    

    The textarea elements will be kept up to date automatically.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: