You are here: Re: wirte javascript in .tpl file « PHP Programming Language « IT news, forums, messages
Re: wirte javascript in .tpl file

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация