Javascript in master/content page

Posted on 2009-04-07
Medium Priority
Last Modified: 2012-06-21
I need to insert this into a content page and I don't understand how.  Putting it in the HEAD section of the master page does not work.

<SCRIPT Type="Javascript" SRC="/FusionCharts/FusionCharts.js"></SCRIPT>
Question by:Cerixus

Accepted Solution

y0usuf earned 2000 total points
ID: 24092697
Are you using 3.5 framework?

In framework you can do this.
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        <asp:ScriptReference Path ="/FusionCharts/FusionCharts.js" />

Expert Comment

ID: 24095014

correct syntax type="text/javascript"

<script type="text/javascript" src="/FusionCharts/FusionCharts.js"></script>

Author Closing Comment

ID: 31567793
You left out the closing SCRIPTS tag, but other than that this was spot on.  Thanks!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…
If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question