View Single Post
  #2  
Old 08-28-2006, 08:38 PM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default Re: {literal} or no {literal} with Javascript code?

You don't technically need it around all JavaScript. Just JavaScript that has brackets {} that will interfere the Smarty parsing engine. However, most code does have {}, so you generally need the {literal} tags.
Reply With Quote