2020.2

Table Of Contents
Function Description
()" on
page1374
set of HTML elements. Has no effect if the class is not present.
"replaceWith
()" on
page1374
Replaces an HTML element or a set of HTML elements (with a snippet, for
example). Returns the result set.
"show()" on
page1375
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 page1376
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
page908.
"text()" on
page1376
Replaces the textcontent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
page1377
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 page1420).
l One element that matches the selector of a script that runs for "Each matched element"
(see "this" on page1338 and "Setting the scope of a script" on page860).
l The elements returned by a query in the template (see "query()" on page1293).
Page 1301