Sets the text of the selected elements (which must not contain child elements), the value of selected attributes, or replaces selected text nodes. Values are escaped automatically.