jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery Basic

List of jQuery Basic

We can manipulate attributes assigned to HTML elements easily through jQuery. href, src, id, class, style are all examples of HTML attributes.
Removing Attributes
The removeAttr() method is used for removing any attribute of an element.
Content Manipulation
jQuery allow content Manipulation. The methods used for these purposes all html() and text().
val() Method
val() method is used to get or set the values of form fields, such as textboxes, dropdowns, and similar inputs
append() and prepend()
append() allows us to add content at the end while prepend() allows us to add content at the begining.
after() and before()
after() inserts content after the selected elements and before() inserts content before the selected elements
addClass() Method
The addClass( ) method adds one or more classes to the selected elements.
removeClass() Method
The removeClass() method removes one or more class names from the selected elements.
toggleClass() Method
The toggleClass() method toggles between adding/removing classes from the selected elements, meaning that if the specified class exists for the element, it is removed, and if it does not exist, it is added.
css() Method
The css() method can be used to get and set CSS property values.
width() and height()
The width() and height() methods can be used to get and set the width and height of HTML elements.