Results 1 to 3 of 3
Thread: textarea focus point
Aug 13, 2002, 05:22 #1
- Join Date
- May 2002
- 0 Post(s)
- 0 Thread(s)
textarea focus point
I was wondering if there is a way to to detect where the cursor is currently focused in a textarea.
I'm currently using this method to add HTML line breaks:
document.forms.elements.value = document.forms.elements.value + '<br>';
But this will obviously just add the BR tags at the end of the text. Thanks in advance.