Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Gábor Papp
Added: Aug 23, 2018 6:48 AM
Views: 5
Tags: no tags
  1. function cookieelfogadva() {
  2.    var date = new Date();
  3.    date.setTime(date.getTime()+31536000000);
  4.    document.cookie = "cookie_policy=true; expires="+date.toGMTString()+"; path=/";
  5.    $('#cookie_container').slideUp();
  6. }