Jquery ui

Hi all, please what is the best way to attach jquery and jquery ui to a view?





$cs=Yii::app()->getClientScript();

$cs->registerCoreScript('jquery');


$cs->registerScriptFile(FilePath::jqueryUrl('js/jquery-1.4.2.min.js'));




sorry guys… i figured it out… i was pointing to the wrong file… cheers

Yii already has jquery ui widgets support, so you don’t need to write any js code. You can find more info in the API.