Return to Snippet

Revision: 24165
at February 22, 2010 13:29 by jaff


Initial Code
<script type="text/javascript">
    /* <![CDATA[ */  
     Javascript code
    /* ]]> */
</script>

Initial URL

                                

Initial Description
Use /* <![CDATA[ */  to make validators ignore the javascript code.

Initial Title
Avoid HTML validators in your javascript inline code with CDATA

Initial Tags
javascript, validation

Initial Language
JavaScript