This the code in my /config/main.php
'packages'=>array(
'jquery'=>array(
'baseUrl'=>'//ajax.googleapis.com/ajax/libs/jquery/2.1.0/',
'js'=>array('jquery.min.js'),
),
'jquery.ui'=>array(
'baseUrl'=>'//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/',
'js'=>array('jquery-ui.min.js'),
)
),
and in my layout i have loaded jquery, jquery.ui using
<?php Yii::app()->clientScript->registerCoreScript('jquery');?>
<?php Yii::app()->clientScript->registerCoreScript('jquery.ui');?>
I want to get the base url of jquer.ui (i.e//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/
) is there any method that will return me the baseUrl of jquery.ui