DOMParser() 构造函数创建新 DOMParser 对象。

句法

var parser = new DOMParser();
					

参数

None.

返回值

新的 DOMParser object. This object can be used to parse the text of a document using the parseFromString() 方法。

元数据

  • 最后修改: