jquery get div height code example
Example 1: jquery get document height
let height = ($(window).height() || $("body").height());
Example 2: get width of div jquery
$("#divId").width();
let height = ($(window).height() || $("body").height());
$("#divId").width();