Having trouble setting / modifying cookies
if (getCookie($(this).attr(“id”)) == true) { The above code will NEVER evaluate as true because cookie values are stored as strings. You are trying to store a boolean value, which is converted to a string when it is written to the cookie. When the browser reads the cookie value, it is also read as a string. … Read more