Now that is a great example......now can you show me how to wright it in straight JavaScript. i know that JScript is support to have many short cuts but i would like to learn how to do it in straight Javascript. If you wouldn't mind taking a look at what i have thus far...
This is me trying to Set the cookie...
I'm stuck on how to create the cookie string. I know i need to enter the expiration date but can't tell the right syntax to use. And i want the Experation date day to day.
Code:
function setCookie(name, value, expDate)
{
document.cookie = name + "=" + value
}
I found this site which kinda gives a step by step approach.
Bookmarks