Friday 20 January 2006 2:36:52 am
Hi to All
If we want to write javaScript in file tpl we should put the javascript in tag {literal} {/literal} But in the function javascript I want to use the template Code.
{literal}
<script language="javascript">
function function()
{
var country=xxx;
if(country=={$UsaId})
{
blbla blabla....
}
}
</script> {/literal}
Can I write this code, Plz If yes what is the syntaxe??? Thank you for help
|