Solved

How to add JS & Jquery scripts to Nop Commerce Site

Posted on 2010-09-07
3
1,574 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
3 Comments
 
LVL 15

Expert Comment

by:AmmarR
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for the clarification, much appreciated!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
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…

728 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

10 Experts available now in Live!

Get 1:1 Help Now