jquery style.height code example
Example 1: javascript set div height
document.getElementById("myBtn").style.height = "50px";
Example 2: jquery get document height
let height = ($(window).height() || $("body").height());
document.getElementById("myBtn").style.height = "50px";
let height = ($(window).height() || $("body").height());