W3C home > Mailing lists > Public > www-validator@w3.org > July 2002

Javascript validation...

From: abc 123 <abc123dotnet@hotmail.com>
Date: Wed, 31 Jul 2002 08:24:20 +0000
To: www-validator@w3.org
Message-ID: <LAW2-F97fyY0QUUBPcZ00022f71@hotmail.com>

Seems to be a bit of a problem when using javascript..

my code is something like:

<script type="text/javascript">

function x()
{
	if(true && false)
	{
		//
	}
}
</script>

and i get:
   if(true && false)
           ^Error: character "&" is the first character of a delimiter but 
occurred as data.


-----

this should not be happening...

i can fix the prob by putting the javascript in a external file
<script type="text/javascript" src="false.js" />

..... :)

is this an error?







_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com
Received on Wednesday, 31 July 2002 04:24:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT