computer help: I would like to know how, in HTML, I could add a “notes” feature into my webpage… - Help.com



This post left anonymously

I would like to know how, in HTML, I could add a “notes” feature into my webpage…

What I mean is this: A box in my page that is blank with a button at the bottom that says “save”, and when you type text in and press “save”, it saves that text within the HTML file(in this case my page is actually an HTML text file in my computer that I open in Firefox).

I would like to make it so that, whenever I come back to the page, it is set to the last text that I saved in that box, and I can change and save it again.

Thanks.

-Messymeese

This open post was written 1 year ago | V/U/S: 163, 7, 3 | Edit Post | Leave a reply | Report Post


Reciprocity (0) Reciprocation Failure -- The poster has NOT helped anyone else yet!

Since writing this post Anonymous may have helped people, but has not within the last 4 days.

Post Tags (11)

Replies (7)

Where were you?

Click and drag to move the map around. FAQ: How we place people on this map »
You can also watch events on Help.com as they happen
Mouse over the map for 2 seconds to see an expanded, interactive view

Ξ.Ģäβž.Ξ offline Verified User (1 year) Long Term User Shouts: 1 #
An Unknown Location | 1 year ago (9 minutes after post)

Like with a scroll bar on the side of the comments box ?

Quote this reply Report this reply to moderators
Ξ.Ģäβž.Ξ offline Verified User (1 year) Long Term User Shouts: 1 #
An Unknown Location | 1 year ago (22 minutes after post)

Comments box with scroll bar:

textarea cols=”50″ rows=”4″ name=”comment”> //text area>

Quote this reply Report this reply to moderators
Nezputa offline Verified User (1 year) Long Term User Shouts: 0 #
An Unknown Location | 1 year ago (27 minutes after post)

great Gabz now i’m even confused.

Quote this reply Report this reply to moderators
Ξ.Ģäβž.Ξ offline Verified User (1 year) Long Term User Shouts: 1 #
An Unknown Location | 1 year ago (1 hour, 17 minutes after post)

lol. Code to generate a comments box for her web page.

Quote this reply Report this reply to moderators
Anonymous #
1 year ago (1 hour, 21 minutes after post)

You can’t save to file from plain HTML. You could use an applet like JNote(http://javaboutique.internet.com/JNote/) or do it in javascript: something like this…
fh = fopen(getScriptPath(), 0); // Open the file for reading
if(fh!=-1) // If the file has been successfully opened
{
length = flength(fh); // Get the length of the file
str = fread(fh, length); // Read in the entire file
fclose(fh); // Close the file

// Display the contents of the file
write(str);
}

Quote this reply Report this reply to moderators
messymeese offline Verified User (1 year) Long Term User Shouts: 0 #
An Unknown Location | 1 year ago (21 hours, 35 minutes after post)

I want it to appear IN my page, not pop-out.

Gabz, what you said is just what I want, except, it won’t keep the text when I come back to it… How can I make it do that?

Thanks!

Quote this reply Report this reply to moderators
messymeese offline Verified User (1 year) Long Term User Shouts: 0 #
An Unknown Location | 1 year ago (21 hours, 44 minutes after post)

This is the OP, by the way…

P.S.
I want the note feature to be available offline.

Quote this reply Report this reply to moderators

Invite Others to Help

A logged in and verified Help.com member has the ability to setup a Friends List and invite others to help with posts.