I want to use jQuery to delete cookies; I have tried this:
$.cookie(\'name\', \'\', { expires: -1 });
But when I refresh the page, the cookie
What you are doing is correct, the problem is somewhere else, e.g. the cookie is being set again somehow on refresh.