Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

do I need to include jquery version file to use jquery.ui.js?

I want to use jquery-ui widgets and so I am including jquery.ui.js. Would I also need to include jquery version file as well?

like image 843
naspinski Avatar asked Feb 08 '09 07:02

naspinski


People also ask

Does jQuery UI include jQuery?

jQuery UI is a collection of GUI widgets, animated visual effects, and themes implemented with jQuery (a JavaScript library), Cascading Style Sheets, and HTML.

Is jQuery different from jQuery UI?

jQuery is the core library. jQueryUI is built on top of it. If you use jQueryUI, you must also include jQuery. jQuery Tabs preceded jQueryUI library.

Does jQuery UI need?

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.

Is jQuery UI a plugin?

UI stands for User interface, It is a set of plug-ins for jQuery that adds new functionalities to the jQuery core library. The set of plug-ins in JqueryUI includes interface interactions, effects, animations, widgets, and themes built on top of jQuery JavaScript Library.


2 Answers

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

jQuery.UI is a jQuery plugin.

like image 75
Christian C. Salvadó Avatar answered Sep 23 '22 08:09

Christian C. Salvadó


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

like image 32
nickohrn Avatar answered Sep 23 '22 08:09

nickohrn