KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using the following code to generate an ajax request: echo CHtml::dropDownList('teamA', '', EnumController::getTeamOption(), array( 'empty' => '(Team / Single)', 'ajax' => array( 'type'=>'POST', 'url'=> $url, 'update'=>"#resultA", //'data'=>"js:$('#teamA').hide().fadeIn()" ) ) ); In my main layout, I have the following: <?php Yii::app()->clientScript->scriptMap=array('jquery.js'=>false);?> <?php Yii::app()->clientScript->scriptMap=array('jquery.min.js'=>false);?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js"></script> Yii is loading jQuery copy out of assets and then -- another copy, directly from Google. I want to use only Google copy and force Yii to not load own copy from assets. How can I do this?
Tags (comma-separated)
Save Edits
Cancel