x-y position of cursor

admin

Administrator
Staff member
Is there any way I can get the x- and y-position of the cursor?

What I mean is this:
I have a textarea:
<textarea cols="5" rows="25"></textarea>

When I write "michelle" in the textarea and hit " " (spacebar), I want to call a function which gets the x- and y-position of the cursor.

Is this possible?

// Michelle
 
Back
Top