I need a jQuery code, not JavaScript, that will delete cookies and set elements to show again.
Here is my code:
HTML:
<div class="recoverit"><a href="javascript:;">Recover Cookies</a></div>
jQuery:
document.cookie = elementId+ "=true; path=/; expires=Th, 31 Dec 2099 11:00:00 GMT;" + date.toUTCString();
Storing of the cookies works great, but now I need to remove them and "elementId" to show again on the same places.
Thanks.