Check cookie if cookie exists using Javascript

var myCookie = getCookie(“ExpireDays”);

Read more