在线手册

  • dom obj all

    ... element element.nextSibling Returns the next node at the same node tree level element.nextElementSibling Returns the next element at the same node tree level element.nodeName Returns the name of a node element.nodeType ...

  • prop node nextsibling

    ... -only. Tip: Use the previousSibling property to return the previous node of the specified node, in the same tree level. Tip: Use the childNodes property to return any child node of a specified node. Browser Support Property ...

  • prop node previoussibling

    ... the previous node of the specified node, in the same tree level. The returned node is returned as a Node object ... to return the next node of the specified node, in the same tree level. Tip: Use the childNodes property to return any child node of ...

  • prop element nextelementsibling

    ... and Usage The nextElementSibling property returns the element immediately following the specified element, in the same tree level. The difference between this property and nextSibling, is that nextSibling returns the next sibling node ...

  • prop element previouselementsibling

    ... and Usage The previousElementSibling property returns the previous element of the specified element, in the same tree level. The difference between this property and previousSibling, is that previousSibling returns the previous sibling node ...

  • prop node nodetype

    ... Represents a comment None 9 Document Represents the entire document (the root-node of the DOM tree) Element, ProcessingInstruction, Comment, DocumentType 10 DocumentType Provides an interface to the entities defined for the ...

  • prop script text

    ... the contents of the script. Returns all the text nodes that are children of the <script> element in tree order (other nodes, like comments or elements will be ignored). More Examples Example Another example of how to get ...

推广服务(新)
最新文章