Skip to content

JQuery

Posted on:September 23, 2022 at 03:22 PM

Jquery

In jQuery, you don’t need for loop when manipulating a selection, unlike vanilla js.

Psuedo selectors

Common jQuery methods(getters and setters)

To select first or last element from a selection

jQuery events

.click(func1) Vs .on(“click”, func1):

Note: use $(this) in jQuery, when adding an event listener.

jQuery effects