Question:How and where can you add a client side script in YII?
Answer The index view is rendered by the index action and is used to initialize the application and provide a do Template that is used for rendering on the client side. We can use it by following way : Yii::app()->clientScript->registerPackage('todo');
+ Report
How and where can you add a client side script in YII?