SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Dec 2002
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Tutorials on adding text to end of textarea?

    Hi everyone

    I'm making my own forum ware and I know little about Javascript...

    I am still in the planning stage, reading up on security and whatnot and I was thinking about the messsage board code, like adding smilies to the message box etc.

    I don't want to directly copy the jaascript from other message boards, so I'd need to learn a bit about how they do it... Any idea's on some good tutorials?

  2. #2
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I liked the tutorials over at Webmonkey or another good bet would be to head over to hotscripts and pull some code apart.

    As for ending text to the end of a textarea the sytnax is

    Code:
    document.formname.textareaname.value += "new string";
    Using the += assignment operator is the equivalent of saying str = str + "new string";

    vibes

  3. #3
    SitePoint Member
    Join Date
    Dec 2002
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you vibes35, I was thinking this, I swear


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
  •