Skip to main content
edited tags
Link
tereško
  • 58.5k
  • 26
  • 100
  • 151
Source Link
Juliano Lima
  • 731
  • 3
  • 10
  • 17

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?