Saturday, 23 August 2014

Resolve javascript parsing error in blogspot blogger with CDATA code

Simply use code like this in your javascript code

<script type="text/javascript">
//<![CDATA[ 

your javascript code here

//]]>
</script>



Tip :

Sometimes you will need this :
 /*<![CDATA[*/
 /*]]>*/
and not only this :
 <![CDATA[
 ]]>

No comments:

Post a Comment