Is it possible to position div at the end of selected text like popup/tooltip somehow? Text is being selected on a page, not in input or textarea.
EDIT: I think I need to clarify, I already have textselect event, I just want to determine the position of the selected text.
EDIT2: I realized that event itself has pageX and pageY cooridnates, so i was just able to grab that and use it for positioning my popup