[PHPTAL] PHPTAL - Search and Replace in JAVASCRIPT

Rony Cohen cohen.rony at gmail.com
Thu Jun 22 16:08:59 CEST 2006


Hello everybody,

I'm trying to replace some vars in  javascript.
but that don't work....

I tried:

<script type="text/javascript" tal:replace="myvar MyTalValue" >
<!--
alert ('${myvar}');
// -->
</script>


But that doesn't work.....


I don't know what I could do.

Can someonr Help me ?

thank you!
Rony
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? enlev?e...
URL: http://lists.motion-twin.com/pipermail/phptal/attachments/20060622/ca4f4a23/attachment.htm


More information about the PHPTAL mailing list