YouTip LogoYouTip

Misc Isxmldoc

# jQuery.isXMLDoc() Method [![Image 3: jQuery Misc Methods](#)jQuery Misc Methods](#) ## Example Determine if an object is within an XML document $(function(){function fun(html){document.body.innerHTML += "
" + html; }fun($.isXMLDoc(document)); //false fun($.isXMLDoc(document.body)); //false}) [Try it Β»](#) * * * ## Definition and Usage The $.isXMLDoc() function is used to determine whether a DOM node is within an XML document or is itself an XML document. * * * ## Syntax _$_.isXMLDoc( node ) | Parameter | Description | | :--- | :--- | | _node_ | Element type. The DOM node to be checked. | * * jQuery Misc Methods](#)
← Misc MapMisc Isplainobject β†’