milov.nl

Interaction design • webdevelopment • web art • photography

December 2001

Include the following at the top of your Javascript:

  cookies = [];
  for (c in C=document.cookie.split('; '))
  {cookies[(cs=C[c].split('='))[0]]=unescape(cs[1]);}
Now you can access your cookies like this:
  alert(cookies['myCookie']);



Bob wrote on 2001/12/21:
Smooth!