get height of window jquery code example
Example 1: get the size of the browser jquery
$(window).height();
$(window).width();
Example 2: jquery get document height
let height = ($(window).height() || $("body").height());
$(window).height();
$(window).width();
let height = ($(window).height() || $("body").height());