Chapter 10: JavaScript and Cookies

Return to Chapter 10

 

To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.

Deleting Cookies

See it run: Deleting Cookies

Script 10.7

This JavaScript deletes cookies.