You should put your js files in the js folder in webroot, so:
app/webroot/js/myscript.js
And then call it like:
link('myscript'); ?>
On 21 apr, 16:13, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> where to put js files? and how to refence it?
--~--~-~--~~~---~-
where to put js files? and how to refence it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send ema