it is *not* possible.. DTML is server side scripting, javascript is client side scripting. dragos cla wrote:
Hi!
i would like to know if its possible to pass javascript variables to dtlm methods.
for example: <script type="text/javascript">
function general(){
var t="hello"
/* here is the problem until now within dtml the they dont recognize the t var */
<dtml-in "func(t)"> ... </dtml-in>
}
</script>
thanks
O SAPO já está livre de vírus com a Panda Software, fique você também! Clique em: http://antivirus.sapo.pt _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )