/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function deleteCookie(name) { var aCookie = getCookie(name); if (aCookie) { document.cookie = aCookie + '; expires=Thu, 01-Jan-70 00:00:01 GMT'; return name; } }
URL: http://www.arachna.com/edu/tutorials/mini/cookies/javascript.html
Comments
