0

I am trying to find the position Y of the cursor within the textarea. If i type in the textarea and cursor in the middle of the textarea and I try to find the cursors height from the textarea outter width. But I couldn't find that.

I tried window.getSelection and event.pageY

Demo

user2073289
  • 135
  • 1
  • 2
  • 7

0 Answers0