Common problem when trying to get code to validate via W3C, just wrap it in CDATA tags…
<script type="text/javascript"> /*<![CDATA[*/ // place javascript here i.e. function myFunction () { // do something } /*]]>*/ </script>
Main Category
Secondary Categories