I am trying to use the jQuery Cookie Plugin but it doesn't seem to be reading or writing my data:
var cookieArray = [];
cookieArray['test'] = true;
console.log(cookieArray);
$.cookie('testing', cookieArray, { expires: 10 });
console.log($.cookie('testing') + "hi");
The last log is always just "hi" - Fiddle
I was wondering if there was anything I wasn't including or doing correctly