Include jquery-ui

Hi,

how to include jquery-ui without widget ? (v1.1.6)

I try two differents solution on the forum and all don’t work :(

Thanks

I’ve been having the same problem…the numerous methods mentioned in the forums for loading it haven’t been working for me. Instead, I’ve just included a dummy zii widget on the page to ensure the scripts are included at some point.

It could help if you would write some methods that you tried…

Anyway to register jquery-ui you can use


Yii::app()->clientScript->registerCoreScript('jquery.ui');

Well, it’s true but it’s not a very clean solution… ???

Nobody to help us ?

Thanks a lot mdomba :)

And you’ll probably want to add the CSS too:




Yii::app()->clientScript->registerCssFile(

	Yii::app()->clientScript->getCoreScriptUrl().

	'/jui/css/base/jquery-ui.css'

);



Thanks mdomba, it was really helpful.