Re: wirte javascript in .tpl file
- From: w0rm29@xxxxxxxxx
- Date: 31 Aug 2006 06:45:37 -0700
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.
.
- References:
- wirte javascript in .tpl file
- From: rinku
- wirte javascript in .tpl file
- Prev by Date: how to get url ?
- Next by Date: Re: how to Replicate Session in new window?, target _blank
- Previous by thread: wirte javascript in .tpl file
- Next by thread: ucfirst
- Index(es):
Relevant Pages
|