How To Add Javacript For Specific Controller And Action.

Hi,

I need to add javascript file or few js code for specific controller and action what is not necessary to load or add in other controller and action. What should I in this circumstances

Please help me someone.

Thanks

http://www.yiiframework.com/doc/api/1.1/CClientScript

http://www.yiiframework.com/doc/api/1.1/CClientScript#registerScript-detail

http://www.yiiframework.com/doc/api/1.1/CClientScript#registerScriptFile-detail

thanks, I got it