tadam logo
Did you find an error in the text?
Select this with mouse and press
Ctrl + Enter
Xhtml.co.il Check Spelling
Orphus system

jQuery.isXMLDoc()

jQuery.isXMLDoc( node )

Returns: Boolean
Description: Check to see if a DOM node is within an XML document (or is an XML document).

Arguments

jQuery.isXMLDoc( node )

version added: 1.1.4
node
DOM node
The DOM node that will be checked to see if it's in an XML document.

Example

Check an object to see if it's in an XML document.
jQuery.isXMLDoc(document) // false
jQuery.isXMLDoc(document.body) // false
Was this information helpful?
   

Comments