I have a div and want to find the bottom position. I can find the top position of the Div like this, but how do I find the bottom position?
var top = $(\'#bo
This is one of those instances where jquery actually makes it more complicated than what the DOM already provides.
let { top, bottom, height, width, //etc } = $('#bottom')[0].getBoundingClientRect();
return top;
use this script to calculate end of div
$('#bottom').offset().top +$('#bottom').height()