Navigation Menu
Alphabetical Listing
Site Contents

Site FAQ
About JSS
JavaScript Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript Help
Contribute a script
Technology Jobs

Become a Partner

Internet.commerce

Be a Commerce Partner















Internet.com

IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

Great Sites

DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements


Social Bookmark

General

Keep your To Do list up to date with this script. Demonstrates how to display, add, and delete items from a list of cookies.


To Do List





Add Item

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: toDoList.js


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


User Comments

Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

8. From: Jake
Good Sort Of
03/21/2008 07:48:42

Well, look, it's nice but I just don't see the practical application of this? There are just so many good online to do list services... it seems silly to just place this code on a webpage and start using it or even offer it to someone else..... there TaDaList, ZoToDo (which i like best by the way)

Point being, why would anyone need a javascript code for a simple to do list?
But I don't meant to be so negative, the actual to do is nice... i just don't see how it's of use to others.

11. From: John
Bad comment
09/23/2008 23:45:52

This is an old post, but Jake, seriously......
I found this example very helpful for newb to cookies!
Thank you

9. From: Lee (Admin)
06/26/2008 11:27:18

Well, sometimes what one person sees as useless, another sees as valuable. Also, many of these scripts are used for educational purposes.

10. From: Derek Richardson
Great Script!
02/25/2008 21:56:35

I think this script is awesome! I was wondering if there was a modified version of it for keeping multiple lists.
EXAMPLE:
Grocery List:
milk
eggs
cookies

To Do List:
Wash Cat
Do Dishes

I cannot seem to get a multiple list concept working on my site. Any email suggestions for growing this code would be appreciated.

6. From: shaun meloy
CSS with it
12/30/2007 14:39:47

can you show me how to put some css in with it please cos i put it on my website and you cart see it i need to change some colours around :)

thanks

shaun meloy

7. From: Lee Underwood (Admin)
01/29/2008 12:28:15

Due to the limitations of these comments, you will need to submit your question to the JavaScript Forum for further help.

4. From: Brian in NY
no action when ADD ITEM toDoList
12/19/2007 11:31:27

I followed the instructions for creating the to do list.
The screen comes up as programmed, but nothing happens when I press the "add item" link. Any suggestions?

5. From: Lee Underwood (Admin)
01/29/2008 11:51:11

Due to the limitations of these comments, you will need to submit your question to the JavaScript Forum for further help.

3. From: Patrick Gagnon
This is da best cookie ever thnx alot
07/17/2007 17:40:21

Thnx alot this is a bitchin cookie it will help me attract vistors to my website when i get it up and running lol and thanks again its helped me alot

2. From: santosh s chavan
Nice code
06/10/2007 01:45:34

this is really helpful example to add/delete/manage multiple varaible in client side cookie

next comments...

Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.