/ Published in: JavaScript
URL: http://www.arachna.com/edu/tutorials/mini/cookies/javascript.html
Expand |
Embed | Plain Text
function deleteCookie(name) { var aCookie = getCookie(name); if (aCookie) { document.cookie = aCookie + '; expires=Thu, 01-Jan-70 00:00:01 GMT'; return name; } }
You need to login to post a comment.
