![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/imgs/post01.jpg)
How to get window height on scroll?
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/li_st1.png)
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/li_st1.png)
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/li_st1.png)
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/imgs/kand5.png)
Get window height on scroll
$(window).scroll(function(){ var hght = $(window).scrollTop(); console.log(hght); });
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/author.jpg)
POST COMMENTS
HOME / BLOG / BLOG-POST
How to get window height on scroll?
$(window).scroll(function(){ var hght = $(window).scrollTop(); console.log(hght); });