JQuery Holen Sie sich die Dokumenthöhe
let height = ($(window).height() || $("body").height());
Agreeable Addax
let height = ($(window).height() || $("body").height());
$("#YOUR-ELEMENT").height();