I’m quite new to web programming, I found my way with Yii and PHP, but I’m really blank on how to use JQuery withing Yii. I tried to find some sort of “how to use JQuery”, a dumb simple example, to put me on track, but I didn’t find anything. My apologize if I missed it.
I found that register my script with something like :
Thank you so much for all the great inputs, its really helpful, thank you !
However, I didn’t get it to work yet… my page is displayed, but the slider doesn’t show.
My guess is that I am not loading all the js files that I need like ui.slider.js, but the funny thing is, I can’t find that file in the JQuery installed by Yii. I find some of the UI scripts, such as tab and treeview, but the one I really need is accordion and it’s not there.
Of course I could take it from the JQuery standalone distribution. But isn’t Yii implementing the whole JQuery package ? I don’t want to add scripts if they are already installed somewhere.
Any idea ? Even searching through the files in both my app directory and the framework directory I don’t find anything.
So… I guess I should install a full copy of JQuery on the side…