Tutorial search

JavaScript Tutorials
Tutorials
Stuff
Affiliates

JavaScript Cookies Tutorials


We hope that you will enjoy our JavaScript Cookies tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own JavaScript Cookies tutorials to our site. Thank you !

Sort by:
Javascript Cookies Tutorial
Javascript Cookies Tutorial
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.
Category: JavaScript tutorials > Cookies - Difficulty:
Simple YUI Cookie example - javascript text magnifier for your page
Simple YUI Cookie example - javascript text magnifier for your page
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.
Category: JavaScript tutorials > Cookies - Difficulty:
User Name Cookie
User Name Cookie
User Name Cookie
Category: JavaScript tutorials > Cookies - Difficulty:
ID Tracker
ID Tracker
ID Tracker
Category: JavaScript tutorials > Cookies - Difficulty:
Only Popup Once
Only Popup Once
Only Popup Once
Category: JavaScript tutorials > Cookies - Difficulty:
Name - Visits - Last Visit
Name - Visits - Last Visit
Name - Visits - Last Visit
Category: JavaScript tutorials > Cookies - Difficulty:
Favorite Background Cookie
Favorite Background Cookie
Favorite Background Cookie
Category: JavaScript tutorials > Cookies - Difficulty:
Name - Browser Info
Name - Browser Info
Name - Browser Info
Category: JavaScript tutorials > Cookies - Difficulty:
Automatic Refresh
Automatic Refresh
Ever wonder how web sites could say, "This page will refresh after every 60 seconds." Without having the surfer press refresh? Well, the answer is in Javascript!
Category: JavaScript tutorials > Cookies - Difficulty:
Session-only cookies
Session-only cookies
Session-only cookies
Category: JavaScript tutorials > Cookies - Difficulty:
Cookies
Cookies
Cookies
Category: JavaScript tutorials > Cookies - Difficulty:
Cookies
Cookies
A cookie is a way you can store some information about a user visiting your site. The information is stored on the individuals computer, and thus you do not need any extra server space to customize a page for any amount of users you may have. To use Cookies there are two things you need to do, one is set the cookie, and the other is retrieve a cookie you have already set. Here's a brief tutorial on how to use cookies, and a couple of ideas which you can use cookies for.
Category: JavaScript tutorials > Cookies - Difficulty:
Determine if Cookies Are Enabled
Determine if Cookies Are Enabled
Use a few simple lines of JavaScript to verify if cookies are accepted by the target web browser.
Category: JavaScript tutorials > Cookies - Difficulty:
Determining cookie support in client's browser
Determining cookie support in client's browser
If your script relies on JavaScript cookies to store and persist information, it's a good idea to always make sure the user's browser has cookies enabled first. This tutorial shows you how to perform this detection.
Category: JavaScript tutorials > Cookies - Difficulty:
Display time of last visit
Display time of last visit
Using cookies, this script records the date+time of your visitor's last visit and displays it upon their return. If this is their first visit to your site, a greeting message is shown instead.
Category: JavaScript tutorials > Cookies - Difficulty:
Total Tutorials in Category: 16