views:

343

answers:

3

or do I just use jquery.ui.js?

+10  A: 

If you want to use jQuery.UI you have to include jQuery.js.

jQuery.UI is a jQuery plugin.

CMS
+2  A: 

It really depends on what you want to do. If you just need basic DOM manipulation, even handling, and things like that, then use jquery.js. If you need advanced UI components and functionality (dragging and dropping, sorting, etc.) then you'll probably need jquery.ui.js.

EDIT My mistake on misreading the question. Yes, you need jquery.js for jquery.ui.js

nickohrn
A: 

Did you read the documentation ?

mP
This isn't helpful at all. If you were bothered by the question go on to the next one don't be rude.
RedWolves
Questions that are posted that are easily answered by just reading the doco ruin the SO experience. The front page only has so many slots. These sorts of questions amount to spam scrolling worthwhile questions off into oblivion when they may very well be worthwhile.
mP