How to get height of entire document with JavaScript?

前端 未结 13 1777
逝去的感伤
逝去的感伤 2020-11-22 06:01

Some documents I can\'t get the height of the document (to position something absolutely at the very bottom). Additionally, a padding-bottom on seems to do nothing on these

相关标签:
13条回答
  • 2020-11-22 06:51

    I lied, jQuery returns the correct value for both pages $(document).height();... why did I ever doubt it?

    0 讨论(0)
提交回复
热议问题