The form below uses the CodeHouse.com JavaScript Library Cookie Utility Class to persist data in its fields across sessions. The source code for this demo is included in this web page. To view the source code, use your browser's source code viewer, which is accessible in many browsers via a right mouse click.
Enter information in the fields below, and then press the "Save to Cookie" button. What this will do is save the data in the fields to a cookie which lasts for 30 minutes. To test that the data was saved to the cookie successfully, close all open browser windows and reopen this page. The data that you entered should still be visible in the fields.
To delete the cookie, press the "Delete Cookie" button and close all open browser windows. When you reopen this page, the data should no longer be visible in the fields.