Just put a <dtml-var x>

where x is a dtml document with your javascript in it.

Even though it should be in the header it still seems to work



2009/3/15 Dvir Bar-lev <dvir.b@puresight.com>

Hi

 

Is there any way to call a javascript method from a dtml method somewhere in the body of it?

The method cam be in a different js file which is preferable or in the dtml method if there is no other way, from what I found on the web it looks like I can’t but I want to make sure that I didn’t miss anything


_______________________________________________
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 )