I am trying to get the string "value" from the cookie "name" however, 'undefined' is always printing out. I am using chrome and any help would be appreciated
Here is my code:
Cookies.set('name', 'value');
var plswork = Cookies.get('name');
document.write(plswork);
Cookies are stored in the "document.cookie" JavaScript object