That should work fine. Do you have a file at webroot/js/util.js? Have you viewed the source to be sure the link is there? If you have Firebug or webdeveloper extension, can you see the JS?
On Wed, Apr 29, 2009 at 4:22 PM, [email protected] <[email protected]> wrote: > > Hi, > > When I was using the older version of cakephp, I was using javascript > in a view this way: > > <?php echo $javascript->link('util'); ?> > > In the version 1.2, it doesn't work. What is the sintax I have to use? > > Regards, > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
