Re: [SMARTY] javascript & '{' '}'
| From: | Andreas Kaiser | Date: | Wed, 28 Aug 2002 06:23:53 +0000 |
| Subject: | Re: [SMARTY] javascript & '{' '}' | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5848@lists.php.net to get a copy of this message | ||
lyu@ua.fm schrieb:
> Hello Everybody!
>
> Example:
{literal}
> <script language="JavaScript">
> function myfun()
> {
> // function body
> }
> </scripr>
{/literal}
>
> Smarty think about {} as smarty-tag.
Use {literal}{/literal}
> Now I use {php}echo '{'{/php} instead of {.
> How I can use '{' & '}' symbols in JavaScript and other places?
Regards
Andreas