Solved

How to add JS & Jquery scripts to Nop Commerce Site

Posted on 2010-09-07
3
1,607 Views
Last Modified: 2013-11-18
Hello,

Newbie to Nop Commerce, running version 1.8 and am trying to figure how to insert javascript and jquery scripts into the site. I found this in the Root.Master page, <asp:PlaceHolder id="SCRIPTS" runat="server" />, but am also new to asp.net so  am not sure if this is where the scripts need to go or if I manually need to add them to <head> section.
0
Comment
Question by:Pdesignz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 15

Expert Comment

by:AmmarR
ID: 33626045
Dear you can reda this simple intor about how to use Jquery in your code

http://docs.jquery.com/How_jQuery_Works

you need to download the .js file first and add it.

Regards
0
 
LVL 21

Accepted Solution

by:
chapmanjw earned 500 total points
ID: 33628879
The asp:PlaceHolder on the Master page is simply a section for you to add scripts on each page inheriting the master page.

If you want JQuery available on all pages, in the  section of the .Master page, add

<script src="LOCATION OF YOUR JQUERY.JS FILE" type="text/javascript"></script>
0
 

Author Closing Comment

by:Pdesignz
ID: 33655766
Thanks for the clarification, much appreciated!
0

Featured Post

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to dynamically set the form action using jQuery.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

739 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