Changes

Understanding JavaScript Cookies

4 bytes added, 15:16, 18 May 2007
Creating a Cookie
function writeCookie( )
{
var name = document.orderForm.nameField.value;
document.cookie = "yourName=" + name;
}