[thelist] Re: Javascript not validating

Jose Ngo chilijoe at gmail.com
Thu Sep 23 20:50:23 CDT 2004

Perhaps you've set your document type to xhtml, but the img tag should
have /> as ending bracket.


Date: Thu, 23 Sep 2004 14:43:48 -0500
From: "Kevin Switzer" <Kevin.Switzer at Stamats.com>
To: <thelist at lists.evolt.org>
Subject: [thelist] Javascript not validating
Message-ID: <874704E92727914B8A5B311134808E45CA8CD3 at apoc.stamats.com>
Content-Type: text/plain;
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Precedence: list
Reply-To: "thelist at lists.evolt.org" <thelist at lists.evolt.org>
Message: 24

I have the following code in a page, and the HTML is not validating....


<script language="JavaScript" type="text/javascript">


document.write('<a href="Javascript:forward2()"><img
src="/images/home/random/R'+which+'.jpg" width="331" height="199"
border="0" id="photoslider" alt="Click to view next image"></a>');



More information about the thelist mailing list