I've got this code inside one of my templates:
Code:
<script language="javascript" type="text/javascript">
function entercustomernumber(countnumber) {
alert("The function ran");
}
</script>
For some reason, when I look at the source code for the page, this is what is there:
Code:
<script language="javascript" type="text/javascript">
function entercustomernumber(countnumber)</script>
Any idea why it is leaving out the { and } and everything in between?