Skip to main content
2 of 2
edited tags
tereško
  • 58.5k
  • 26
  • 100
  • 151

javascript for a specific view

I have a javascript code that should only run in app/Clients/show_products.ctp

$(document).ready(function(){ //Do stuff }); 

Should I to put this in layout or in the end of the view?

Juliano Lima
  • 731
  • 3
  • 10
  • 17