New course! Every coder should learn Generative AI!
Try a free lesson+ 1
JavaScript or JQuery?
6 Answers
+ 7
jQuery is a library written in js.
according to how extensive is the use of jQuery in your code, you can evaluate if your gain on typing it's worth importing the whole library.
Practically speaking: importing jQuery only for a date-select widget is obviusly overkill and implementing the widget in native js may improve performance and user experience
+ 7
jQuery flattens out browser quirks (and adds DOM convenience functions) so that you don't have to know that "IE Q" does X this way and "Opera Z" does it that way. Much like Python's "Don't repeat yourself" or (pick a language's) database layers, all the stuff everybody keeps writing (over and over again) is abstracted so you do it one way that works everywhere.
jQueryUI is fancy stuff that leverages jQuery's predictability to provide consistent UI across browsers.
The "j" ... stands for javascript.
Importing the library (by version, which most do) only matters something like 'once'. Google sets caches for 1 year...and you probably already have a copy in your cache from just being online.
+ 3
JQuery is a JavaScript library. If u master js it will help u to do well in JQuery !
+ 1
javascript!!!!!!
+ 1
yes, but some people have an opinion that clear javascript is better
+ 1
JavaScript libraries have pre written JavaScript codes so it is said that JavaScript is the best.