jQuery obtenga la altura del elemento
let height = ($(window).height() || $("body").height());
Agreeable Addax
let height = ($(window).height() || $("body").height());
$("#YOUR-ELEMENT").height();
height()