Download Jquery plugin from here:
https://github.com/carhartl/jquery-cookie
Examples of using:
Setting a cookie
$.cookie("example", "foo");
Setting with expiry time
$.cookie("example", "foo", { expires: 7 });
Getting the cookie
$.cookie("example")
Deleting the cookie
$.cookie("example", null);
https://github.com/carhartl/jquery-cookie
Examples of using:
Setting a cookie
$.cookie("example", "foo");
Setting with expiry time
$.cookie("example", "foo", { expires: 7 });
Getting the cookie
$.cookie("example")
Deleting the cookie
$.cookie("example", null);