I can set a div to top and left position of a button using following code:
var p = $("#tag-add");
var offset = p.offset();
$("#TagModal").offset({ top: offset.top, left: offset.left})
Output:
But I want to set the div to bottom right of button:
How to do this?