当前位置: 代码迷 >> ASP.NET >> .请教 html table与table.document有什么区别
  详细解决方案

.请教 html table与table.document有什么区别

热度:1193   发布时间:2013-02-25 00:00:00.0
.请问 html table与table.document有什么区别?
html
table与table.document有什么区别?

比如
    headTable.attachEvent( "onmousemove ",tb_onmousemove1);

    headTable.document.attachEvent( "onmousemove ",document_onmousemove1);

------解决方案--------------------------------------------------------
请注意文档对象模型的概念

table是特定的table

table.document是特定table所属的Document
------解决方案--------------------------------------------------------
alert(headTable.document == document);
  相关解决方案