Deleting a jQuery cookie:
$(function() {
var COOKIE_NAME = 'test_cookie';
var options = { path: '/', expires: 10 };
$.cookie(COOKIE_NAME, 'test', options); // sets the cookie
console.log( $.cookie( COOKIE_NAME)); // check the value // returns test
$.cookie(COOKIE_NAME, null, options); // deletes the cookie
console.log( $.cookie( COOKIE_NAME)); // check the value // returns null
});