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
    Jan 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Manipulating a Textarea

    Hello!

    I was trying to use a textarea as the "display" of a chat, althought I am experiencing a little problem: everytime that I append a new string to the textarea value, it returns to the top. So it is beeing necessary to roll all the text or use a "Ctrl+End" keyboard shortcut to go to the bottom of the textarea.
    Anyone knows a function that simulates de "Ctrl+End" keyboard shortcut to go to the bottom of the textarea?

    Thanks.

    somolinos

  • #2
    Regular Coder
    Join Date
    Dec 2004
    Location
    Jamaica
    Posts
    592
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Internet Explorer

    Here's what I'll do for you..... you must be a pretty advanced user!!!



    But at any rate rate check out this post, it has to do with inserting text where the cursor is! I don't know maybe it could help you?

    Or if not do a search on either moveTo() or scrollTo() methods.... the answer u seek might there lie....

    If i find anything else on it i'll post it!!!!

    Hope something above helps!


  •  

    Posting Permissions

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