Set a cookie for addClass and removeClass
Set a cookie for addClass and removeClass
$(".div1").click(function (e) {
e.stopPropagation();
$(".div2").removeClass("active");
});
How I can set a cookie so I don't have to remove class all the time? I want it to be hidden even after reload.
Topic Participants
kontakt
jakecigar