In my controller file I use:
Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl . "/js/myfile.js");
This work fine but it creates a reference to the JS file, like:
I would like the JS to be included in the HTML file, like:
Is this possible? I would also like to be able to do this with CSS.
Thanks in advance!