views:

93

answers:

0

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?