Spec-Zone.ru › jQuery

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).

  • version added: 1.1.4jQuery.isXMLDoc( node )

    • node
      Type: Element
      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

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/jQuery.isXMLDoc

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API