| 
	
 | 
 Posted by w0rm29 on 08/31/06 13:45 
use {literal} at tje beggining of javascript and {/literal} at the end. 
if there are some "{" and "}"  in javascript code, it gives error. 
"literal" gives output just like it is ... 
 
 
rinku wrote: 
> Hi, 
>       I am using smarty but I am unable to write javascript in tpl file 
> .If i write javascript then it gives error. How can i do it and how can 
> i define a variable in .tpl file.
 
  
Navigation:
[Reply to this message] 
 |