How to get height of entire document with JavaScript?

前端 未结 13 1787
逝去的感伤
逝去的感伤 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:30

    Add References properly

    In my case I was using a ASCX page and the aspx page that contains the ascx control is not using the references properly. I just pasted the following code and it worked :

    
    
    
    

提交回复
热议问题