i have a div of static width and height and i want to know its bottom right corner so that i can use it for top and left of another div
so basically the coordinates of the marked point in the image below,
i have tried to bottom = rect.top + rect.height; right = rect.top + rect.height; i dont think above is correct. could someone help me get the bottom right corner of the div.thanks.