how to get size if div in jquety code example Example: jquery get document height let height = ($(window).height() || $("body").height());