摘要: 原来HTML里是document.bodyXHTML里是document.documentElement都指的是<body>节点(OR元素)可以这样兼容:function getBodyObj(){return (document.documentElement) ? document.documentElement : document.body ;}在DHTML文档中对documentElement的说明是:Object that receives the reference to the document element,The root node of a typical 阅读全文
posted @ 2010-08-21 09:58 老高dotnet实践 阅读(225) 评论(0) 推荐(0) 编辑