[ZWeb] Zope.org feedback: JavaScript function call from page templates

Anonymus (via www.zope.org) pnok321@freemail.hu
Tue, 15 Jul 2003 09:42:45 -0400


Hi!
Please help me!
I want to call JavaScript function from page templates.
in DTML Document it works ('a' is SQLMethod):
-----------------
<scipt>
function p()
{}
<dtml-in a>
  p(<dtml-var d1>);
</dtml-in>
</script>
---------------
But it does not work in page templates.
Please tell me how can I do this if I have page templates!
Thank you.

----------------------------------------------------------
This email was generated from the Zope.org feedback form
It was invoked from a link on http://www.zope.org/Members/Caseman/client_script_howto