I am using popular jquery Cookie plugin https://github.com/carhartl/jquery-cookie Wonder how to set and read a cookie with multiple values? Or maybe it\'s possible to add/re
When I was using the
var obj = { a: 'test', b: 'best' }; $.cookie("MyCookie", $.param(obj), { expires: 10 });
I was getting this value in the cookie
a%3Dtest%26b%3Dbest
So to get something like
a=test&b=best
you need to add this line before $.cookie()
$.cookie.raw = true;