Results 1 to 4 of 4

Thread: How to get cursor's position in textarea

  1. #1
    Join Date
    Aug 2006
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to get cursor's position in textarea

    Hi guys,
    I'm making a forum and I want to add quick text formatting(you know making bold, italic e.t.c.)! I want to have some buttons that each one does something else! Now, I want when a button is pressed to get the cursor's position in the textarea, so I can add whatever I want! How can I do that?

    Thanks!

  2. #2
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

  3. #3
    Join Date
    Aug 2006
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks shachi!

  4. #4
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You are welcome.

Bookmarks

Posting Permissions

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