How to find absolute (X,Y) cursor potision in textarea?

Posted by Marc on Stack Overflow See other posts from Stack Overflow or by Marc
Published on 2010-04-03T04:18:38Z Indexed on 2010/04/03 4:23 UTC
Read the original article Hit count: 378

Filed under:
|
|
|

As a user types in a textarea I'd like to be able to display an auto-complete box directly below the current cursor position. How can I determine the window X,Y coordinates of the cursor while the user types in the textarea?

© Stack Overflow or respective owner

Related posts about html

Related posts about textarea