Solved

Javascript in master/content page

Posted on 2009-04-07
3
362 Views
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>
0
Comment
Question by:Cerixus
3 Comments
 
LVL 4

Accepted Solution

by:
y0usuf earned 500 total points
ID: 24092697
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
 
LVL 6

Expert Comment

by:havj123
ID: 24095014

correct syntax type="text/javascript"

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

Author Closing Comment

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now