View Single Post
  #1  
Old 10-02-2007, 01:53 PM
 
creativearc creativearc is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 34
 

Default Javascript function problem in template

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?
__________________
CreativeArc
---------------
X-Cart Pro
Version: 4.1.8
Reply With Quote