literal and javascript
pete M <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
Have been working on a project recently, and it involved using smarty
paramaters within the javascript code.
Realising the fact that there are a lot of {literal}{/literal} tags I
was pondering the following idea.
could smarty somehow have variables within the {literal} tags eg in
Backticks or some "non used" javascript code ?
eg
{literal}
function foo{
bar = `$some_smarty_variable` + 1;
{
{/literal}
just a thought
Pete
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php