Manipulation
-
.addClass()
Attributes | Class Attribute | CSS
Adds the specified class(es) to each of the set of matched elements.
-
.after()
DOM Insertion, Outside | DOM Insertion, Outside
Insert content, specified by the parameter, after each element in the set of matched elements.
-
.append()
DOM Insertion, Inside | DOM Insertion, Inside
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
-
.appendTo()
Insert every element in the set of matched elements to the end of the target.
-
.attr()
Attributes | General Attributes
Get the value of an attribute for the first element in the set of matched elements.
-
.before()
DOM Insertion, Outside | DOM Insertion, Outside
Insert content, specified by the parameter, before each element in the set of matched elements.
-
.clone()
Create a deep copy of the set of matched elements.
-
.css()
Get the value of a style property for the first element in the set of matched elements.
-
.detach()
Remove the set of matched elements from the DOM.
-
.empty()
Remove all child nodes of the set of matched elements from the DOM.
-
.hasClass()
Attributes | Class Attribute | CSS
Determine whether any of the matched elements are assigned the given class.
-
.height()
CSS | Dimensions | Style Properties
Get the current computed height for the first element in the set of matched elements.
-
.html()
Attributes | DOM Insertion, Inside
Get the HTML contents of the first element in the set of matched elements.
-
.innerHeight()
CSS | Dimensions | Style Properties
Get the current computed height for the first element in the set of matched elements, including padding but not border.
-
.innerWidth()
CSS | Dimensions | Style Properties
Get the current computed width for the first element in the set of matched elements, including padding but not border.
-
.insertAfter()
Insert every element in the set of matched elements after the target.
-
.insertBefore()
Insert every element in the set of matched elements before the target.
-
.offset()
CSS | Offset | Style Properties
Get the current coordinates of the first element in the set of matched elements, relative to the document.
-
.outerHeight()
CSS | Dimensions | Style Properties
Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without "px") representation of the value or null if called on an empty set of elements.
-
.outerWidth()
CSS | Dimensions | Style Properties
Get the current computed width for the first element in the set of matched elements, including padding and border.
-
.position()
CSS | Offset | Style Properties | UI
Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
-
.prepend()
DOM Insertion, Inside | DOM Insertion, Inside
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
-
.prependTo()
Insert every element in the set of matched elements to the beginning of the target.
-
.prop()
Attributes | General Attributes
Get the value of a property for the first element in the set of matched elements.
-
.remove()
Remove the set of matched elements from the DOM.
-
.removeAttr()
Attributes | General Attributes
Remove an attribute from each element in the set of matched elements.
-
.removeClass()
Attributes | Class Attribute | CSS
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
-
.removeProp()
Attributes | General Attributes
Remove a property for the set of matched elements.
-
.replaceAll()
Replace each target element with the set of matched elements.
-
.replaceWith()
Replace each element in the set of matched elements with the provided new content.
-
.scrollLeft()
CSS | Offset | Style Properties
Get the current horizontal position of the scroll bar for the first element in the set of matched elements.
-
.scrollTop()
CSS | Offset | Style Properties
Get the current vertical position of the scroll bar for the first element in the set of matched elements.
-
'border-bottom-left-radius' Style Property
Set/get CSS border radius for bottom left corner.
-
'border-bottom-right-radius' Style Property
Set/get CSS border radius for bottom right corner.
-
'border-radius' Style Property
Set/get CSS border radius.
-
'border-top-left-radius' Style Property
Set/get CSS border radius for top left corner.
-
'border-top-right-radius' Style Property
Set/get CSS border radius for top right corner.
-
.text()
DOM Insertion, Inside | Attributes
Get the combined text contents of each element in the set of matched elements, including their descendants.
-
.toggleClass()
Attributes | Class Attribute | CSS
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
-
.unwrap()
DOM Insertion, Around | DOM Removal
Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
-
.val()
Attributes | Forms | General Attributes
Get the current value of the first element in the set of matched elements.
-
.width()
CSS | Dimensions | Style Properties
Get the current computed width for the first element in the set of matched elements.
-
.wrap()
DOM Insertion, Around | DOM Insertion, Around
Wrap an HTML structure around each element in the set of matched elements.
-
.wrapAll()
DOM Insertion, Around | DOM Insertion, Around
Wrap an HTML structure around all elements in the set of matched elements.
-
.wrapInner()
DOM Insertion, Around | DOM Insertion, Around
Wrap an HTML structure around the content of each element in the set of matched elements.