[Zope] calling javascript method from dtml method

Josh Burvill jburvill at mri.com.au
Sun Mar 15 20:58:39 EDT 2009


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 at 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 at 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 )
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20090316/fe8109fe/attachment.html 


More information about the Zope mailing list