1.8

Table Of Contents
Function Description
"Examples" on
page894
For each element in a set, this function gets the first parent element that
matches a selector, by testing the element itself and traversing up
through its ancestors in the DOM tree.
"Examples" on
page895
Gets the value of a style property for the first element in set of HTML
elements or sets one or more CSS properties for every element in a set
of HTML elements.
"Example" on
page897
Removes the contents (child elements and inner HTML) from one
element or a set of elements in the template.
"Example" on
page897
Returns a subset of the current result set.
"Example" on
page898
Performs a search for a text in the children of each element in a set of
HTML elements, and returns a new result set with elements that
surround the occurrences.
"Example" on
page899
Returns true if the first element in this result set has the specified
class.
"hide()" on
page899
Hides the HTML element or set of HTML elements.
"Examples" on
page900
Replaces the inner HTML of the element or of each element in a set of
HTML elements with the supplied value, or returns the HTML of the first
element if no value is supplied.
is(selector) Returns true if at least one of the elements in a set of HTML elements
matches the supplied CSS selector.
"Creating a table
of contents" on
page900
Returns a marker that will be replaced with the element's page number
after pagination. This only works for elements in the section that is
currently being merged.
"Example" on Returns the parents of the elements in a set of HTML elements.
Page 880