<script>
alert(document.documentElement.outerHTML)
</script>

解决方案 »

  1.   

    谢谢,结分!再问一下,这些dom到哪能查到?
      

  2.   

    http://msdn.microsoft.com
    JS版上面有链接
      

  3.   

    &Ocirc;&Uacute;msdn&Ouml;&ETH;&Ecirc;&auml;&Egrave;&euml;dhtml reference
      

  4.   

    document.documentElement.outerHTML  显示本页全部的代码
    document.documentElement.innerHTML  显示本业<head>后面的所有代码
    document.documentElement.outerTEXT 
    document.documentElement.innerTEXT  显示标题
    document.documentElement.tagName    显示第一个标签名称
    ……
      

  5.   

    dom手冊
    http://home.pchome.com.tw/web/rad_ex/hpg.htm
      

  6.   

    不要走上面進http://home.pchome.com.tw/web/rad_ex/
    然後用guest進去,看到左邊的dom,裡面有詳細介紹
      

  7.   

    [email protected]谢谢,各位好心人,结分!!!