Hi,
can I load jQuery library included in framework or have to copy this library to i.e /jscripts and load with CClientScript?
Hi,
can I load jQuery library included in framework or have to copy this library to i.e /jscripts and load with CClientScript?
Call Yii::app()->clientScript->registerCoreScript('jquery').
You don't need to copy the file.
thanx
And how can I load plugins?
Yii::app()->clientScript->registerCoreScript('jquery.YOUR_JQUERY_PLUGIN')