Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9223221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:01:30+00:00 2026-06-18T04:01:30+00:00

IE9 TinyMCE ajax save problem I have few tabs in one page and in

  • 0

IE9 TinyMCE ajax save problem

I have few tabs in one page and in one of the tab i have three textareas(all containing TinyMCE) editors.

I m using ajax to post form and save values and then redisplaying partial view which is returned from the PartialViewResult.

I m using latest version(3.5.8) of TinyMCE.

When i click first time, the textarea values are saved. but when i click second time the tab gets disappeared and gives me ‘SCRIPT70: Permission denied’.

The error is occured in tiny_mce_src.js at

    getBody : function() {
        return this.bodyElement || this.getDoc().body;
    }

I have tried using document.domain = ‘localhost'(written at the top of the tiny_mce_src.js), it works but only one textarea convert into TinyMCE editor and the other two remains as proper textarea.

Also tried setting this to 1(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_OBJECT_CACHING\iexplore.exe)

My code for posting form and redisplaying is as follows.

    $(".save").live("click", function () {
           tinyMCE.triggerSave();
           var f = $(this).parents("form");
           var action = f.attr("action");
           var serializedForm = f.serialize();
           $.ajax({
               type: 'POST',
               url: action,
               data: serializedForm,
               async: false,
               cache: false,
               success: function (data, textStatus, request) {
                     // redisplay partial view
                     $("div.tab-pane.active").html(data);
                     window.scrollTo(0, 0);
                     InItTinyMCE();
               },
               error: function (req, status, error) {
                     alert("Error occurred!");
               }
           });
           return false;
    });

    function InItTinyMCE() {
           tinyMCE.init({
              mode: "textareas",
              cleanup: true
           });
    }

please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:01:31+00:00Added an answer on June 18, 2026 at 4:01 am

    You might have to reinitialize the tinymce instances correctly

    To shut down an edtor instance use:

    tinymce.execCommand('mceRemoveControl',true,'your_editor_id');
    

    To reinitialize use

    tinymce.execCommand('mceAddControl',true,'your_editor_id');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a problem with IE8 and IE9, my website stuck to the right
I have been using TinyMCE WYSIWYG in CMSMS(CMS Made simple), its working in all
Latest Chrome/IE9/Firefox all work fine. IE8 complains that the page cannot be shown and
In IE9 Browser, a page is not displayed properly. Using developer toolbar I have
IE9 and jquery AJAX problem.... first time it works well if I click on
problem: IE9 I have a table. And i have a CSS class. The CSS
I have a page with multiple tinymce instances running at the same time and
I've noticed that IE9, Firefox and Chrome all allow you to use arbitrary html
This works on all browser except IE9, getAttribute return null on IE9, any ideas
IE9 has a weird problem where it renders intranet sites in compatibility mode. Does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.