How To Use Included Jquery In A View?

Dear all,

I’ve a question about the included Jquery. That means when I use a zii.widget.CGridView, then there is jquery included in my HTML. How can I enable a view to inlude also the <script> tag?

Thanks!

You can have it as




Yii::app()->clientScript->registerCoreScript('jquery');



http://www.yiiframework.com/forum/index.php/topic/16050-include-jquery/