1. e.parentNode是什么意思?
2. document.all?td.children:td.childNodes问号和冒号什么意思?
3. div.children, DIV有孩子是什么意思?

解决方案 »

  1.   

    一个属性,parentNode:
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/parentnode.asp
      

  2.   

    1.父节点
    比如td的parentNode为tr,只能有一个父节点
    2.选择是否
    document.all是否存在?yes 选择td.children    no选择childNodes
    3.div的子元素,就是他下面可能包含子元素
      

  3.   

    sakura169(〖一诺轻天下〗)的网址,我得到一个英文的资料如下:
    有人懂英文吗?
    parentNode Property  Internet Development Index --------------------------------------------------------------------------------Retrieves the parent object in the document hierarchy. What's New for Microsoft® Internet Explorer 6
    This property now applies to the attribute object. SyntaxHTML N/A 
    Scripting [ oElement = ] object.parentNode Possible ValuesoElement Object that receives the parent node. The property is read-only. The property has no default value.ResThe topmost object returns null as its parent. ExamplesThis example assigns the parentNode of a span object to a variable.<SCRIPT>
    var oParent = oSpan.parentNode;
    </SCRIPt>
    :
    <BODY>
    <SPAN ID=oSpan>A Span</SPAN>
    </BODY>
    This example assigns the parentNode of a node, created with the createElement method, to a variable.var oNode = document.createElement("B");
    document.body.insertBefore(oNode);
    var sType = oNode.parentNodes;