msmyers
asked on
Cursor X/Y location in Textarea (firefox only, pff to IE)
I need to get the X/Y (rows/columns) location of the cursor in a text area.
I'm building a spell checker and i'd like to point a big red finger to where they are typing.
i know you can use textarea.selectionStart and selectionEnd, but this is does not help if they've pressed enter a few times.
I'm building a spell checker and i'd like to point a big red finger to where they are typing.
i know you can use textarea.selectionStart and selectionEnd, but this is does not help if they've pressed enter a few times.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
That solution has merit for IE. Is there a firefox similar way to do this? (Hopefully without using a fixed width font?)
ASKER