2022.1

Table Of Contents
Function Description
"prev()" on
page1458
Returns the previous sibling of each HTML element in the result set.
"remove()" on
page1459
Removes an HTML element or a set of HTML elements from the
document.
"removeAttr()" on
page1461
Removes the specified attribute from each element in this result set.
"removeClass()"
on page1461
Removes the specified class from an element or from each element in
a set of HTML elements. Has no effect if the class is not present.
"replaceWith()"
on page1461
Replaces an HTML element or a set of HTML elements (with a snippet,
for example). Returns the result set.
"show()" on
page1462
Shows the HTML element or a set of HTML elements.
size() Gets the number of elements in this result set. Equivalent to the
length property.
"tagName()" on
page1463
Returns the HTML tag name of the first element in this result set, in
uppercase. For an example see: "Creating a Table Of Contents" on
page972.
"text()" on
page1463
Replaces the textcontentof an HTML element or of each element in a
set of HTML elements with the supplied value, or returns the text
content of the first element if no value is supplied.
"width()" on
page1464
Gets or sets the outer width of an element, including padding and
borders.
add()
The add() function adds elements to one or more HTML elements, which can be:
Page 1388