1,加载js
$cs = Yii::app()->getClientScript();
$cs->registerCoreScript('jquery');
$cs->registerCssFile($baseUrl.'/css/redmond/jquery-ui.css');
$cs->registerCssFile($baseUrl.'/css/style.css');
$cs->registerScriptFile($baseUrl.'/js/jquery-ui.min.js');
$cs->registerScriptFile($baseUrl.'/js/form.js');
$cs->registerScriptFile($baseUrl.'/js/jquery.json.js');
2,删除js
Yii::app()->clientscript->scriptMap['jquery.js'] = false;