4 ms·
Not exactly, jquery offers it's own API which is what makes it powerful and allows for it's method chaining, plugin system etc. A $(".className") returns a jque
by jiggy2011 13y ago
Not exactly, jquery offers it's own API which is what makes it powerful and allows for it's method chaining, plugin system etc. A $(".className") returns a jquery object , not a DOM element.
- coldtea 13y ago>Not exactly, jquery offers it's own API Yes, that's the definition of a wrapper: it offers it's own API.
- jiggy2011 13y agojquery is really it's own abstraction, the jquery API allows you to interact with jquery objects which can do DOM manipulation on your behalf. This library literally returns DOM objects.