Wednesday, 28 August 2013

remove Cookie using jquery not working

remove Cookie using jquery not working

I have two cookies in my JS file and I want to remove them.
I have tried the code below but it is not working
$.removeCookie('filter', { path: '/Home/' });
$.removeCookie('Pfilter', { path: '/Home/' });
I have also tried the below for null cookies, but this is also not working.
Thanks for the help
$.cookie('filter',null, { path: '/Home/' });

No comments:

Post a Comment