+ 5
JavaScript VS jQuery? Which is better?
JavaScript VS jQuery? Which is better? JavaScript VS jQuery, Which is much better to manipulate webpages ? Which provides more features? Which can performe more tasks ? Which has a better syntax ? What's the difference between the two ? Which one is easier ? What's your answer ?
11 Answers
+ 23
jQuery is not a language, it's a Javascript framework that allows you to write less for do the same things of Javascript.
There is no one "best", use jQuery if you have BIG projects and you need of small code and more readability, otherwise... stay away from frameworks and write in pure JS.
Best Syntax for me pure Javascript (but this is just my opinion about that)
Best performance surely pure Javascript - http://vanilla-js.com/
More features, jQuery... methods like toggleClass( ) can be helpful sometime.
I prefer write in pure JS, always... but frameworks if they are used good are not the evil. ;)
+ 13
JavaScript of course.
+ 11
I LOVE BOTH đ
+ 9
maz is right bro
avoid using framework because it decreases your skills
+ 7
js is dad of j query
i support both
btw
selecting of element is too easy in j query
and
JavaScript is easy to understand
+ 7
JS for me :)
+ 2
The previous commenter touched on this, too, but it's worth noting that jQuery is a JavaScript library. All jQuery uses JavaScript. Not all JavaScript uses jQuery.
A better question might be do people like jQuery, and why or why not? For people that don't like jQuery, I might ask why do they not find it useful and what other tools do they prefer for common jQuery use cases?
+ 1
alright let me understand ..so thus framework it's just for to build some quick scripts?
+ 1
With more efficient syntax on ES2016, we can write better javascript code now.
Consider using javascript without jQuery first, once you have familiar the syntax, you would not need or like to use jQuery, even thought Javascript is a bit verbose.
+ 1
LunexiaScript