?
Solved

How to add JS & Jquery scripts to Nop Commerce Site

Posted on 2010-09-07
3
Medium Priority
?
1,629 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 2000 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
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.
Suggested Courses
Course of the Month15 days, 17 hours left to enroll

743 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