View Single Post
  #2 (permalink)  
Old 04-29-2008, 05:33 PM
notrub225 notrub225 is offline
Senior Member
 
Join Date: Jan 2008
Location: chicago
Posts: 101
Default

I store Javascript files in a folder called /javascript inside the public directory where your bootstrap file is. Your javascript files must be in this directory because they must be readable by the web browser.

If I only want to use Javascipt code for a specific page, I include it inline inside my template file (ex: index.phtml) at the top.
Reply With Quote