62,074
社区成员
发帖
与我相关
我的任务
分享
document.documentElement.innerHTML
<script>
function showAllHTML(){
var arr=[];
for(var i=0;i<document.childNodes.length;i++){
arr.push(document.childNodes[i].outerHTML);
}
alert(arr.join(""));
}
</script>