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 7589415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:09:12+00:00 2026-05-30T20:09:12+00:00

okies so i have a complete ajax system every page loaded is handled though

  • 0

okies so i have a complete ajax system every page loaded is handled though ajax its alot of messy code at the moment so i wont show you.

The problem i’m having is when when i go to my content that loads TinyMCE it works perfectly, once, then once the form is submitted it uses remove() on the TinyMCE element then once it’s done it gets the content from the server this then has a textarea for TinyMCE and it loads the weird thing is the content is not showing but if i click the HTML button the content is within the TinyMCE textarea.

I will try to show to explain a bit better using as little code as posible

so this is the TinyMCE call every time the conent is reloaded from the server

$(".addonContent form textarea.tinyMCE").tinymce({
        // Location of TinyMCE script
        script_url : '/script/tiny_mce/tiny_mce.js',

        // General options
        theme : "advanced",
        plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",

        // Theme options
        theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
        theme_advanced_buttons2 : "cut,copy,paste,pasteword,|,bullist,numlist,|,blockquote,|,undo,redo,|,link,unlink,anchor,image,code,",
        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,charmap,emotions,media,|,ltr,rtl,|,fullscreen",
        theme_advanced_buttons4 : "",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true,

        // Example content CSS (should be your site CSS)
        content_css : "/style/style_content.css",

        // Drop lists for link/image/media/template dialogs
        template_external_list_url : "lists/template_list.js",
        external_link_list_url : "lists/link_list.js",
        external_image_list_url : "lists/image_list.js",
        media_external_list_url : "lists/media_list.js",

        // Replace values for the template plugin
        template_replace_values : {
                username : "Some User",
                staffid : "991234"
        }
    });

And this works perfectly the first time

now my ajaxForm code run and just before it submits the data to the server it calls

$(".addonContent form textarea.tinyMCE").tinymce().remove()

but then when the content comes back and Tiny MCE loads it will not show the content in the editor but if i click the HTML button the content shows

EDIT
This appears to be a bug with TinyMCE and Google Chrome as the below code works with IE8+ and works with Firefox i’m trying CKeditor now.

  • 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-05-30T20:09:14+00:00Added an answer on May 30, 2026 at 8:09 pm

    You need to shut down a tinymce editro instance before you load a second one with the same id.
    Use the mceRemoveControl execCommand here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site http://www.ratingscorner.com/colleges i have an issue like performance. I think the
I've the following doubt. I've a page MyPage and i've declared few dictionary objects
I've the following code in my app. MyEventHandler handler = null; //Declare the handler
I' m using sqlite on iphone. I have table with 200 000 records. It'
please help I have a simple example here <script type=text/javascript language=javascript> function test(callback1) {
Suppose that I have a unsigned char*, let's call it: some_data unsigned char* some_data;
I have big problem. I have 100000 rows in my database(sqlite). I can't reduce
I was trying to do subscription system which is only for registered user. Till
I am using Xcode and, after some struggling, it is compiling my dynamic libraries
after calling: result=bindService(new Intent(IUdpListenerService.class.getName()), serviceConnection, Context.BIND_AUTO_CREATE); byt debugger: result return 'true' the onServiceConnected isn't

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.