Category: jQuery Reference

jQuery .removeAttr(): Delete HTML Attributes
Compare deleting an attribute with setting an empty value, and handle input values, current properties, and ARIA attributes correctly.

jQuery .removeClass(): Remove Specific or All Classes
Remove selected class names or clear all classes, while distinguishing class removal from clearing inline styles.

jQuery .addClass(): Add One or More CSS Classes
Add one or more classes while preserving existing names, generate classes with a callback, and check why styling may not change.

jQuery .addBack(): Include the Previous Traversal Selection
Include the previous traversal collection and understand which elements the optional selector filters.

jQuery .add(): Combine Element Selections
Combine selections without changing the original collection, and distinguish selecting elements from inserting them into the document.

jQuery .prepend(): Insert Content as the First Child
Add content at the beginning of an element and understand how existing nodes and multiple destinations affect the result.

jQuery .append(): Insert Content as the Last Child
Add content at the end of an element, compare insertion with moving or cloning nodes, and handle user input as plain text.

jQuery :contains(): Match Elements by Text Content
Explore case-sensitive substring matching, descendant text, and a safer way to handle dynamic search strings without constructing selectors.

jQuery :button Selector: Which Elements Does It Match?
Check how :button treats button elements, ordinary button inputs, and submit or reset inputs, with a working selection example.
