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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:51:37+00:00 2026-06-13T01:51:37+00:00

I am using [tinyMCE][1] and [tinybox2][2] i can get both to work independently but

  • 0

I am using [tinyMCE][1] and [tinybox2][2] i can get both to work independently but what i am tryng to achieve is that i click on edit button tinybox2 opens the url with the relevant id string on the page the link opens up this has tinyMCE on it with the update form, but i dont understand why tinymce does not load within the popup.

Is there a way to allow javascript to go to this popup of tinybox? or why is it preventing more javascript to load?

Thanks for any help 😀

I have done this so far:

  1. <script type="text/javascript" src="js/jquery-1.8.2.js"></script>
  2. get test.php content via $.ajax(); –no idea on this one–
  3. <p><a class="Forumusername" onclick="TINY.box.show({url:'test.php',width:750,height:300})">CLICK ME</a>
  4. reinit TinyMCE editor with tinyMCE.init call. –i dont know how to implement this either–

Edited links but question is answered.

  • 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-13T01:51:38+00:00Added an answer on June 13, 2026 at 1:51 am

    I’m not good in updating old code, so I will rewrite it completely. That’s content of two my files test.php and edit.php:

    test.php

    <!doctype html>
    
    <link rel="stylesheet" href="js/tinybox2/style.css" type="text/css" />
    
    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
    <script type="text/javascript" src="js/tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript" src="js/tinybox2/tinybox.js"></script>
    
    <script type="text/javascript">
    $(function(){
        $('#open_editor').click(function(){
            $.get(this.href).done(function(html){
                TINY.box.show({ 
                    html: html,
                    width: 500, 
                    height: 400, 
                    openjs: function(){
                        tinyMCE.init({ mode: 'textareas', theme: 'advanced' });
                    }
                });
            });
            return false;
        });
        tinyMCE.init({ mode: 'textareas', theme: 'advanced' });
    });
    </script>
    
    <a id="open_editor" href="edit.php">Open editor</a>
    
    <textarea></textarea>
    

    edit.php

    <textarea name="body" rows="10" cols="50"></textarea>
    

    Correct paths to stylesheets and scripts before running test.php.

    These scripts are checked and tested.

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

Sidebar

Related Questions

I'm currently using TinyMCE and would like to add a custom button that works
I'm using TinyMce to insert/edit a text from a database, but I don't know
i posted some data using tinymce (in a symfony project).while retrieving back how can
I am using TinyMCE load via AJAX but on the same domain, same protocol
I have three textareas using tinymce as text area. They all work in chrome
I am using the tinyMCE library for my textareas but also for image uploads,
I'm using TinyMCE for a textarea on a page but it doesn't play nice
i m using tinymce editor on joomla component that behave strangly tinymce is already
I'm using TinyMCE and want to execute a php script get the output and
I am using TinyMCE. It works great. But I want the feature in TinyMCE

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.