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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:37:28+00:00 2026-06-15T03:37:28+00:00

I know almost nothing about javasrcipt, but I do know I should be able

  • 0

I know almost nothing about javasrcipt, but I do know I should be able to do this.

I have several different tinymce.init calls that I would like to make. They work fine if I load them in the page’s head but not if I move them to an external .js file. Can someone tell me what is wrong with the following?

My page file header:

<head id="Head1" runat="server">
    <title></title>
    <script type="text/javascript" src="../Scripts/tiny_mce/tiny_mce_src.js"></script>
    <script type="text/javascript" src="../Scripts/load_tinymce.js"></script>
</head>

And my external file (load_tinymce.js):

tinyMCE.init({
    mode: "specific_textareas",
    editor_selector: "StandardEditBox",
    theme: "advanced",
    theme_advanced_buttons1: "bold,italic,underline,|,sub,sup,charmap",
    theme_advanced_toolbar_location: "top",
    theme_advanced_toolbar_align: "left",
    theme_advanced_statusbar_location: "none",
    forced_root_block: false,
    height: "50",
    encode: "xml",
    theme_advanced_resizing: false,
    setup: function (ed) {
        ed.onSaveContent.add(function (i, o) {
            o.content = o.content.replace(/&#39/g, "&apos");
            });
    }
});

tinyMCE.init({
    mode: "specific_textareas",
    editor_selector: "CommentsTextBox",
    theme: "advanced",
    theme_advanced_buttons1: "bold,italic,underline,|,sub,sup,charmap",
    theme_advanced_toolbar_location: "top",
    theme_advanced_toolbar_align: "left",
    theme_advanced_statusbar_location: "none",
    forced_root_block: false,
    height: "150",
    width: "580",
    encode: "xml",        
    theme_advanced_resizing: false,
    setup: function (ed) {
            ed.onSaveContent.add(function (i, o) {"&apos");
        });
    }
});

I feel like there should be something else in my .js file but I don’t know what it could be.

  • 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-15T03:37:30+00:00Added an answer on June 15, 2026 at 3:37 am

    Verify that your script src is actually correct.

    Try using the following:

       <script type="text/javascript" src="/Scripts/tiny_mce/tiny_mce_src.js"></script>
       <script type="text/javascript" src="/Scripts/load_tinymce.js"></script>
    

    This will load absolute from the root. Assuming your Scripts folder is at root level.

    I removed the .. from your src – as this is telling the page to look one folder back, relative from itself, for the scripts folder.

    UPDATE

    Change your src to:

           <script type="text/javascript" src="Scripts/tiny_mce/tiny_mce_src.js"></script>
            <script type="text/javascript" src="Scripts/load_tinymce.js"></script>
    

    Removed the /

    Also, if you haven’t done so, install Firebug for firefox. It will help you pin down the exact problem.

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

Sidebar

Related Questions

I must say, that I know almost nothing about TFS. But have worked with
I know almost nothing about SVG files, but have to use one in order
I know almost nothing about cryptography, but I would like to figure out how
I know almost nothing about html and javascript. So pardon me if this is
I'm no expert in Coldfusion (frankly, I know almost nothing about it), but I've
I know almost nothing about linq. I'm doing this: var apps = from app
Here is my situation: I know almost nothing about Perl, but it is the
First, I know almost nothing about the interfacing of this type and this is
I know almost nothing about this sort of thing, so please forgive the newbie
I had some experience of android but know almost nothing of GCC Makefile. Here

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.