Question
Javascript Coldfusion and validator W3C
Hello,
I would like to know if there is a solution to make the Coldfusion's generated code valid against the W3C validator.
My coldfusion is generating this code :
<script type="text/javascript">
_cf_loadingtexthtml="<img alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/>";
_cf_contextpath="";
_cf_ajaxscriptsrc="/CFIDE/scripts/ajax";
_cf_jsonprefix='//';
_cf_clientid='17B936E2E7D6FC75BAC5A2FDE889CE65';
</script>
The part wich is the problem is the img tag. The better would be to nest it in a CDATA tag.
Does someone have a solution to solve this?
Thank you 😃
