DEV Community

Discussion on: Like im 5:What is JQUERY???????

Collapse
 
pandademic profile image
Pandademic • Edited

So jQuery adds $() , & a better way to manipulate the standard DOM?

Collapse
 
domonic profile image
domonic

well it also has $.get(something) for ajax calls. and a $('#mytag').html('new content') to replace shit. which is just about all you need for an SPA. also some shorthands for event listneners. i.e. $('.somebutton').on('click') basically you use that dollar to access this API api.jquery.com/ and it can be applied to any selector you pass into the dollar. It used to be more useful as well for its array methods but now they are built into js so less required for merging and extend and looping for people who couldn't be arsed to type a for loop.