the script file does not accept less than sign (<) whenever I change to < , script errors
ERROR
NO ERROR
ERROR
NO ERROR
//<![CDATA[
// JAVASCRIPT HERE
//]]>
<script type="text/javascript">//<![CDATA[
(function() {
var a = 5,
b = 6;
if (a && b && window.console) {
if (a < b) {
console.log('Lesser');
} else {
console.log('Greater');
}
}
}());
//]]></script>
SLGray wrote:Where are you adding this code?
Ange Tuteur wrote:@TamDonCo would it be possible for you to post the code here so that we may look over it ?