Notes

Leave yourself a note which will display on this page the next time you visit this page.


Enter your note here

This is the note you left previously



Return to the
Javascript Playground

Download
This Page


About this Page

Ordinarilly, information generated on/by a web page is lost when the page is replaced with another or the browser is closed. Producing a persistent note is accomplished by setting a Cookie* which contains the note. You must return within one month to see the note since the Cookie is set to expire in a month. If you want to see the note immediately, reload this page; it will read the Cookie and display the note in the bottom box. If you submit a note now it will replace a previously submitted note. The Delete Note button sets the Cookie expiration date to 01-Jan-1970. (If you want to check that it really was deleted, don't forget to clear the bottom box before re-loading the page.)

The code for reading, setting, and deleting cookies was obtained from the JavaScript Tip of the Day site.

* A Cookie is a file residing on your disk which can be written to and read by your browser.

@Lewis A. Shadoff, 1998