Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Text Area that saves text

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #46164
    Dext3r
    Participant

    Hi, i’m looking for some help on how to make a simple
    Text Area with a button that saves, i want to use it as a “Admin Note” thing.

    So lets say i add “Hi im on vacation this week” and hit the Save button it saves the text in the text area.
    Been searching 2 hours on a Tutorial simply cant find anything.

    #141712
    Dext3r
    Participant

    Well what ever solution is the best, i’ve seen it done before in Javascript.
    Just cant find any help on it.

    #141714
    Senff
    Participant

    Well there’s a few more things to consider.

    Who can edit the textarea? Everyone or do you need a login? And who can see the admin note? Everyone or just the user who entered the text?

    #141718
    Dext3r
    Participant

    I just need the Textarea, i want everyone to edit it and everyone to view it.

    #141738
    Senff
    Participant

    So everyone can write a note and then everyone else will see that note? What if someone writes a note and someone else wants to overwrite it?

    #141743
    Dext3r
    Participant

    I want to place it inside my admin panel so admins can use it, so i just need the basic code of it right now
    So just like a simple thing like this http://codepen.io/anon/pen/Cnjyd you type your message hit save, and it saves it inside the text area.

    #141753
    Senff
    Participant

    If you want other admins to see it, then you’ll probably end up having to use a database.

    The note just reads from the database and shows whatever it retrieves. And the text is written to the database once you hit the SAVE NOTE button.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.