|
Uh? Does JavaScript allow you to use multiple lines? I thought everything had to be on one line per statement? -Cozzi > -----Original Message----- > From: web400-admin@midrange.com > [mailto:web400-admin@midrange.com] On Behalf Of Justin Houchin > Sent: Monday, May 06, 2002 3:21 PM > To: web400@midrange.com > Subject: [WEB400] JavaScript Blues > > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > Hi Everyone, > I am trying to write a simple cookie, but keep receiving > an error message Line 19 Char 42 Conditional Compilation is > turned off. Here is my source: > > <html> > <head> > <title>ReliaTeK, Inc. "Providing Reliable Technology to > Businesses"</title> </head> <body> <script language= "JavaScript"> > > function WriteCookie(name,value,expires,path,domain) > { > var curCookie = name + "=" + escape(value) + > ((expires) ? "; expires=" + expires.toGMTString() : "") + > ((path) ? "; path=" + path : "") + > ((domain) ? "; domain=" + domain : ""); > document.cookie = curCookie; > } > > </script> > <center>Welcome Justin Houchin.<BR><BR> > <img src="/images/Clip%20Art/USA%20Flag.jpg" > onLoad="WriteCookie(useridcookie,jhouchin@charter.net,1,/,192. > 168.0.6)"></center> > </body> > </html> > > > > Thanks, > > Justin Houchin > Programmer > Reliatek, Inc > jhouchin9@charter.net _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) mailing > list To post a message email: WEB400@midrange.com To > subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/web400 > or email: WEB400-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/web400. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.