Just put a &lt;dtml-var x&gt; <br><br>where x is a dtml document with your javascript in it.<br><br>Even though it should be in the header it still seems to work<br><br><br><br><div class="gmail_quote">2009/3/15 Dvir Bar-lev <span dir="ltr">&lt;<a href="mailto:dvir.b@puresight.com">dvir.b@puresight.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p>Hi</p>

<p> </p>

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

<p>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</p>

</div>

</div>


<br>_______________________________________________<br>
Zope maillist  -  <a href="mailto:Zope@zope.org">Zope@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br>
**   No cross posts or HTML encoding!  **<br>
(Related lists -<br>
 <a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
 <a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
<br></blockquote></div><br>