[thelist] XHTML1.1 Validation errors with Javascript

Tim Burgan burgan at iprimus.com.au
Mon Oct 27 06:35:28 CST 2003


David,

. . . . . . . . . . . . . . . .
: ----- Replied Message -----
: From: "David Dorward"
:
: The easy work around:
: <script type="text/javascript" src="some-external-file.js"></script>
. . . . . . . . . . . . . . . .

I understand that an external file is the easy option, but I'd much
rather have the javascript embedded.

I just wondering now, why my page validates using CDATA, but my
document displays javascript errors. If I remove CDATA, I have not
problems.

Is anyone able to help?

Thanks
Tim Burgan



More information about the thelist mailing list