Jquery $(window).height() function does not return actual window height

前端 未结 7 2120
渐次进展
渐次进展 2020-12-09 16:09

I have a page that I need to dynamically load ajax content when the user scrolls to the bottom. The problem is that JQuery is not returning the correct window height. I have

7条回答
  •  醉话见心
    2020-12-09 16:46

    Look at your HTML souce code. The first line should be and you have