[thelist] Javascript Validation Help - Comodo TrustLogo Display Script
Matt Warden
mwarden at gmail.com
Sun Feb 12 13:43:18 CST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Ron,
Ron Dorman wrote:
> document.writeln('<script type="text\/javascript" src="'+cot_loc0+'"><\/script>');
If you have the ability to modify this script, change it to something like:
document.writeln('<scr'+ 'ipt type="text\/javascript"
src="'+cot_loc0+'"><\/scr'+ 'ipt>');
That will get the validator to shut up about it.
It's really not an error as far as how browsers will read it. The
validator is just limited in its parsing abilities, and thinks you have
a <script> tag within another <script> tag (you do, but not really).
- --
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com
This email proudly and graciously contributes to entropy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD74/WrI3LObhzHRMRAqdYAJ9FHn05sYjkJVoHk9FHkcsaMMzJuACg60+0
2GNwxeAj6kRjHY1aTw/wu3w=
=BP4i
-----END PGP SIGNATURE-----
More information about the thelist
mailing list