$.cookie('the_cookie');
: return the value of the cookie
$.cookie('the_cookie', 'the_value');
: set the value of a cookie
$.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
: create a cookie with all available options.
$.cookie('the_cookie', null);
: delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain used when the cookie was set.