Any idea what's wrong??Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <head> <title>Cookies</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" type="text/javascript"> <!-- function setCookie(name, value, expires, path, domain, secure) { var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); document.cookie = curCookie; } // --> </script> </head> <body> <input type="button" value="Set Cookie" onClick="setCookie('cookie1', 'I%20like%20cookies!', 'December 15, 2001', '/', 'http://members.home.net/gshelpboy/');"> </body> </html>





Bookmarks