jQuery.isXMLDoc()
Categories: Utilities
jQuery.isXMLDoc( node )Returns: Boolean
Description: Check to see if a DOM node is within an XML document (or is an XML document).
-
jQuery.isXMLDoc( node )
version added: 1.0node The DOM node that will be checked to see if it's in an XML document.
-
Check an object to see if it's in an XML document.
Code:
jQuery.isXMLDoc(document) // false jQuery.isXMLDoc(document.body) // false