S
shapper
Hello,
Why when I register some Javascript code to the page I get //<!
[CDATA[ before it?
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
This is the first script
This is the second script
});
//]]>
</script>
If I write the script myself in the HTML code or using a literal do i
need it?
Thanks,
Miguel
Why when I register some Javascript code to the page I get //<!
[CDATA[ before it?
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
This is the first script
This is the second script
});
//]]>
</script>
If I write the script myself in the HTML code or using a literal do i
need it?
Thanks,
Miguel