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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:08:14+00:00 2026-05-27T22:08:14+00:00

Hi I seem to be getting an error in dreamweaver on the last line

  • 0

Hi I seem to be getting an error in dreamweaver on the last line of this script, it has appeared since I added some Jquery initialisation code to the head, but I cant seem to see where the error actually is as according to dreamweaver the closing script tag is the error.

<script src="./ui/media/js/jquery-1.6.2.min.js" type="text/javascript"></script>
<script src="./ui/media/js/jquery.dataTables.min.js"     type="text/javascript"></script>

<script src="./ui/media/js/ZeroClipboard.js" type="text/javascript"></script>

<script src="./ui/media/js/TableTools.js" type="text/javascript"></script>

<!-- TinyMCE -->
<script type="text/javascript" src="./jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
    mode : "textareas",
    theme : "simple",
    editor_selector : "mceSimple"
});

tinyMCE.init({
    mode : "textareas",
    theme : "advanced",
    editor_selector : "mceAdvanced",
    theme_advanced_buttons1 :     "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,undo,redo,link,unlink,Name,Rep,Date",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",
    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    theme_advanced_statusbar_location : "bottom",
    plugins : 'inlinepopups',
    setup : function(ed) {
        // Add a custom button
        ed.addButton('Name', {
            title : '[Name]',
            class : 'namebutton',
            image : 'img/example.gif',
            onclick : function() {
                // Add you own code to execute something on click
                ed.focus();
                ed.selection.setContent('{name}');
            }

        });

        ed.addButton('Rep', {
            title : '[Rep]',
            class : 'repbutton',
            image : 'img/example.gif',
            onclick : function() {
                // Add you own code to execute something on click
                ed.focus();
                ed.selection.setContent('{createdby}');
            }
        });

        ed.addButton('Date', {
            title : '[Date]',
            class : 'datebutton',
            image : 'img/example.gif',
            onclick : function() {
                // Add you own code to execute something on click
                ed.focus();
                ed.selection.setContent('{datesent}');
            }
        });
</script>

<!-- /TinyMCE -->






<script src="./ui/media/js/jquery-ui-1.8.16.custom.min.js"     type="text/javascript"></script>



<script type="text/javascript">
$(document).ready( function() {
    $('#dashboard').dataTable({
        "bJQueryUI": true,
        "bInfo": true,
        "bAutoWidth": true,
        "bFilter": true,
        "bLengthChange": true,
        "bPaginate": true,
        "bProcessing": true,
        "bSort": true,
        "sPaginationType": "full_numbers",
        "aaSorting": [[ 6, "desc" ]],
        "iDisplayLength": 5,
        "bLengthChange": false   
    });
});
</script>
  • 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-27T22:08:14+00:00Added an answer on May 27, 2026 at 10:08 pm

    You are missing two closing braces in your tiny mce code to close the tinyMCE.init and the setup: function(ed) {:

    <script type="text/javascript">
    tinyMCE.init({
        mode : "textareas",
        theme : "simple",
        editor_selector : "mceSimple"
    });
    
    tinyMCE.init({
        mode : "textareas",
        theme : "advanced",
        editor_selector : "mceAdvanced",
    theme_advanced_buttons1 :     "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright,     justifyfull,bullist,numlist,undo,redo,link,unlink,Name,Rep,Date",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",
    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    theme_advanced_statusbar_location : "bottom",
    plugins : 'inlinepopups',
    setup : function(ed) {
        // Add a custom button
        ed.addButton('Name', {
            title : '[Name]',
            class : 'namebutton',
            image : 'img/example.gif',
            onclick : function() {
                // Add you own code to execute something on click
                ed.focus();
                ed.selection.setContent('{name}');
            }
    
        });
          ed.addButton('Rep', {
            title : '[Rep]',
            class : 'repbutton',
            image : 'img/example.gif',
            onclick : function() {
                // Add you own code to execute something on click
                ed.focus();
                ed.selection.setContent('{createdby}');
            }
    
        });
         ed.addButton('Date', {
            title : '[Date]',
            class : 'datebutton',
            image : 'img/example.gif',
            onclick : function() {
                // Add you own code to execute something on click
                ed.focus();
                ed.selection.setContent('{datesent}');
            }
    
        });
      }
    });
       </script>
    
       <!-- /TinyMCE -->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can't seem to line up (indent) this code correctly in Haskell. Getting error: parse
This may seem like a simple question but i am getting an error when
This might seem ridiculously simple, but I've been getting all kinds of error depending
I'm getting this error message ... The Maximum string content length quota (8192) has
First python script and I'm getting an error I can't seem to get around
I seem to be getting this error... I believe I am typing everything correctly:
i seem to be getting this error everytime i try to run my android
I seem to be getting this error when I try to profile a specific
I am getting this error on the error console and can't seem to figure
I am getting this error. Problem is that the caused by clause doesnt seem

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.