|
text()text() : StringReturns the text content of the first element in a result set. ExampleThis script loads a snippet into a variable and retrieves an element from the snippet using query() and text().
text(value)Replaces the text content of each element in a result set by the supplied value. ExampleThis script loads a snippet, then looks for placeholders using find(), and replaces them using text(value).
|
|