• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

Javascript in master/content page

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>
0
Cerixus
Asked:
Cerixus
1 Solution
 
y0usufCommented:
Are you using 3.5 framework?

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

correct syntax type="text/javascript"

<script type="text/javascript" src="/FusionCharts/FusionCharts.js"></script>
0
 
CerixusAuthor Commented:
You left out the closing SCRIPTS tag, but other than that this was spot on.  Thanks!
0
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

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now