Why are javascripts sometimes surrounded by these tags?

Posted by Drew on Stack Overflow See other posts from Stack Overflow or by Drew
Published on 2010-04-26T20:34:56Z Indexed on 2010/04/26 20:53 UTC
Read the original article Hit count: 220

Filed under:

Why are some JavaScripts encapsulated within these tags:

<!--//--><![CDATA[//><!--

some js here

//--><!]]>

© Stack Overflow or respective owner

Related posts about JavaScript