Covers basic usage of cookies in JavaScript. Includes reading, setting, and deleting.
It is very common for a website to use cookies. Cookies are a small snippet of data that is stored on the client’s machine. Cookies can store anything from user information to session data. You will learn how to create, retrieve, display and delete cookies using javascript.
The piece of code we will be writing, using the YUI library (my favorite), will allow users to increase/decrease their font size for a block of text, storing the font size in a cookie
so that when they return to the page they don't have to modify the font size again.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials.
Mind lending a hand?