2021.2

Table Of Contents
Function Description
"removeAttr()" on
page1400
Removes the specified attribute from each element in this result set.
"removeClass()"
on page1400
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1400
Replaces an HTML element or a set of HTML elements (with a snippet,
for example). Returns the result set.
"show()" on
page1401
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
page1402
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
page931.
"text()" on
page1402
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
page1403
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:
l The elements that match the selector of a script (see "results" on page1448).
l One element that matches the selector of a script that runs for "Each matched element"
(see "this" on page1364 and "Setting the scope of a script" on page883).
l The elements returned by a query in the template (see "query()" on page1319).
Page 1327