1. In a typical Web page document, by: Document or window.document acquired;
2. iframe frame, by property node iframe: contentDocument acquisition;
3, through the XMLHttpRequest object returned by ajax document responseXML get property;
4. The internal nodes by document node ownerDocument get property;