SyntaxFix
Write A Post
Hire A Developer
Questions
You can use a plugin available here..
https://plugins.jquery.com/cookie/
and then to write a cookie do $.cookie("test", 1);
$.cookie("test", 1);
to access the set cookie do $.cookie("test");
$.cookie("test");