Hi ALL,
I am trying to include the js files in my view page
<?php
$baseUrl = Yii::app()->baseUrl;
$cs = Yii::app()->getClientScript();
$cs->registerCoreScript(‘jquery’);
$cs->registerCssFile($baseUrl.’/css/vvv.css’);
$cs->registerCssFile($baseUrl.’/js/vvv.js’);
$cs->registerCssFile($baseUrl.’/js/vvv.bt.js’);
?>
but when i saw the viewsource its included. but still i am not able to call the function in js file. but css is working fine.
please help Me.