[thelist] Trouble writing JS cookie in NN 4
DESCHAMPS Stéphane DvSI/SICoR
stephane.deschamps at francetelecom.com
Mon Oct 21 03:33:01 CDT 2002
> -----Message d'origine-----
> De : thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]De la part de Bob Haroche
>
> > onClick="setCookie(this.form);[...]
> >
> > And alter the setCookie function like so:
> > function setCookie(f) {
> > if (f.RememberMe.checked == true) {
> > document.cookie = "TOSagreed=yes;expires=" +
> expireDate.toGMTString();
> > }
>
> Thanks, Stef, but I'm finding that your suggestion isn't
> working in NN4 or
> IE6 for that matter. :(
Hmmm. Did you try to isolate the bug?
Like perhaps 'alert'ing inside your if clause, just to see if it's what I
gave you that goes wrong or if it's something different?
if (f.RememberMe.checked == true) {
alert("yes RememerMe is checked");
}
Can you email me your code offlist so I can have a look and tell you what's
wrong.
More information about the thelist
mailing list