BIG PROBLEM - {literal} and parsing vars in JS
| From: | Ray | Date: | Sat, 18 May 2002 19:13:34 +0000 |
| Subject: | BIG PROBLEM - {literal} and parsing vars in JS | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4302@lists.php.net to get a copy of this message | ||
I have a JS script inside my tpl that Is needing to use variables from the php and smarty but
unfortunatly since JS seems to require a {literal} {/literal} around it, its not parsing the data
properly. I am not using the {literal} tags simply because i would need countless numbers of them
due to the amount of variables we insert into our js. Is there any way around this?
Thanks.