I was just adding a javascript code in my Blogger template and was getting errors while adding it. So i want to share a small quote when adding Javascript to your template. This code helps from prevent the XML errors in blog while saving your template. This is a tag inside it you need to place the JS wrap code and will not show you any errors.
This tag should be place before the </head> tag or you can add it before the </body> tag in your blogger template.
<script type='text/javascript'>
//<![CDATA[
// ADD Copy or Past your javascript code here..
//]]>
</script>
After adding it with the code Save your template.
Simple and easy trick to add javascript thank you
ReplyDelete