View Single Post
  #3  
Old 10-02-2007, 07:56 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Javascript function problem in template

Surround your JS with {literal} tags:

{literal}
Javascript here
{/literal}

That keeps Smarty from reading it as Smarty
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote