Javascript - undefined cookie value?
- by Computeras
Try running the code, I know the problem is in the 1. part.
Thanks in advance,
P.S. I'm a newbie in JS.
<html>
<head>
<script>
{
//1. part
var Cookies = "";
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
…