Hi, I am new to cakephp. I want to add a <script></script> tag to the head
the page. I add the

<?php echo $scripts_for_layout ?>


in the layout's <head></head> block, and

<?php
$javascript->link("main.js");
?>


in the view.

But I can not see any <script> tag in the output html. Why?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to