I want to use jQuery to delete cookies; I have tried this:
$.cookie(\'name\', \'\', { expires: -1 });
But when I refresh the page, the cookie
You can try this:
$.removeCookie('the_cookie', { path: '/' });
source: https://github.com/carhartl/jquery-cookie#readme