I\'m opening a new thread based on this how to store an array in jquery cookie?. I\'m using function from almog.ori :
var cookieList = function(cookieName) {
This line:
$.cookie(cookieName, items);
Should create the string from the array as well, like this:
$.cookie(cookieName, items.join(','));
This is so that when loading the array via cookie.split(/,/), it gets a string it expects (comma-delimited).
cookie.split(/,/)