Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation textarea get row index

    i have a textarea and i need to know which row the user is now entering in the text area. I need to know the row index and the total number of rows the user wrote. How do i do that?

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Provo, UT
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am not sure how to get which row you are on but I do know how to get where the cursor is. IE may have some functions that do that.

    This link will show you how to get the cursor location.
    http://www.alexking.org/blog/2003/06...ng-javascript/

    cheers,

    Michael
    I try to convince 'em that I am computer geek, but I just can't do it. Why? Oh why?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •