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?
jQuery UI is a collection of GUI widgets, animated visual effects, and themes implemented with jQuery (a JavaScript library), Cascading Style Sheets, and HTML.
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.
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.
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.
If you want to use jQuery.UI you have to include jQuery.js.
jQuery.UI is a jQuery plugin.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With