25.61. Document.createCDATASection( ): create a new CDATASection nodeDOM Level 1 Core:25.61.1. SynopsisCDATASection createCDATASection(String data) tHRows DOMException; 25.61.1.1. Arguments
25.61.1.2. ReturnsA newly created CDATASection node, with the specified data as its contents. 25.61.1.3. ThrowsIf the document is an HTML document, this method throws a DOMException with a code of NOT_SUPPORTED_ERR because HTML documents do not allow CDATASection nodes. |