Retrieving Cookies with JavaScript
(Using the cookie library)
The syntax for GetCookie is:
GetCookie(name)
The code I used here to retrieve the cookie called "nickname" is:
if (GetCookie("nickname") != null) {
document.write("Welcome, ", GetCookie("nickname"), "!
")
}

