How can I create and read a value from a cookie in JavaScript?
Here's a code to Get, Set and Delete Cookie in JavaScript.
function getCookie(name) { name = name + "="; var cookies = document.cookie.split(';'); for(var i = 0; i
Source: http://mycodingtricks.com/snippets/javascript/javascript-cookies/