insertParsedString method
Parses text and inserts the resulting DOM objects into a document at the location indicated by the start of the Range.
insertParsedString(text )
Parameters
String text
The text to be inserted. Markup is interpreted as XML or SGML according to the target document. If an empty string, this method does nothing.
Returns
void
Throws
AOMException
Raised if the method detects an error, for example, the insertion is not permitted due to context checking.
这对您有帮助吗?