[thelist] XHTML1.1 Validation errors with Javascript

Tim Burgan burgan at iprimus.com.au
Sun Oct 26 18:17:59 CST 2003


Now that I've included <![CDATA[ in my code [1] , I get javascript
errors - but my site validates!!

The way I've included the <![CDATA[ is as follows:

<head>
    <script type="text/javascript">
      <![CDATA[
      <!--
        //javascript goes here
      //-->
      ]]>
    </script>
</head>

IE says the errors is are on all the lines where the functions are
called - which isn't very helpful.

[1] <http://www.greaterthani.com/05_programming/week2b.htm>

Is someone able to find where I'm going wrong again?
Thanks

Tim Burgan



More information about the thelist mailing list