/ Published in: PHP
Override yii's jquery files and load your own.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
En /protected/config/main.php 'clientScript'=>array( 'scriptMap'=>array( 'jquery.js'=>false, 'jquery.ajaxqueue.js'=>false, 'jquery.metadata.js'=>false, ), ), En protected/views/layouts/main.php <?php echo CGoogleApi::init(); echo CHtml::script( CGoogleApi::load('jquery','1.3.2') . "\n" . CGoogleApi::load('jquery.ajaxqueue.js') . "\n" . CGoogleApi::load('jquery.metadata.js') ); ?>