var h=document.documentElement.scrollHeight;var h1=document.body.scrollHeight;document.write(h+"<br>"+h1);輸出:8? ? ? ? 813
documentElement.scrollHeight的高度怎么比body.scrollHeight還???一臉疑惑...求解各位前輩們
qq_心晴朗_0
2017-06-02 11:13:57