How to disable jQuery autoloading on Ajax request in Yii?

前端 未结 3 1519
野趣味
野趣味 2020-12-14 23:50

I\'m using the following code to generate an ajax request:

echo CHtml::dropDownList(\'teamA\', \'\', EnumController::getTeamOption(), array(
        \'empty\         


        
3条回答
  •  清歌不尽
    2020-12-15 00:08

    This will work

     clientScript;
           $cs->scriptMap=array(
             'jquery.js'=>false,
             'jquery.ui.js' => false,
    ); ?>
    

提交回复
热议问题