fix
This commit is contained in:
@@ -16,11 +16,11 @@ const getCookie = (name) => {
|
||||
function WriteCookie(name) {
|
||||
var now = new Date();
|
||||
now.setMonth( now.getMonth() - 1 );
|
||||
cookievalue = escape(document.myform.customer.value) + ";"
|
||||
// cookievalue = escape(document.myform.customer.value) + ";"
|
||||
|
||||
document.cookie = name + '=' + cookievalue;
|
||||
document.cookie = name + '=' + '';
|
||||
document.cookie = "expires=" + now.toUTCString() + ";"
|
||||
document.write("Setting Cookies : " + "name=" + cookievalue );
|
||||
// document.write("Setting Cookies : " + "name=" + cookievalue );
|
||||
}
|
||||
|
||||
export {
|
||||
|
||||
Reference in New Issue
Block a user