I want to position a pop-up element directly below the text caret/blinking text cursor in a textarea or content editable element.
I've found answers that give me the text index within an element where the caret exists, but as far as I can tell this is useless to me. (like this)
I need something similar to the event.pageX and pageY properties available with mouse-events, but I want that same thing for the position of my text editor caret. Anyone know how to do this?