$this->view->headScript()->prependFilename('/js/filename.js');
and then in your view:
<head>
...
<?php echo $this->headScript() ?>
...
</head>
- Neil
On Tue, Aug 5, 2008 at 10:17 AM, Jigal sanders <jigalroecha@gmail.com> wrote:
> Hello everyone,
>
> If I want to use a javacript in a certain view. How should I Modify my
> header file to appoint to the right javascript?
>
> --
> Kind regards
>
> Jigal Sanders
>
>
没有评论:
发表评论