Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript delete cookie

function deleteCookie(name) {
  document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #delete #cookie
ADD COMMENT
Topic
Name
5+6 =