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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15.03.2009 9:09 Uhr, Dvir Bar-lev wrote:
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
This question makes no sense. DTML=server-side, JS=browser-side. - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkm8uHkACgkQCJIWIbr9KYwudQCgsmSmyVr+DKWqktqIvjc6ALxU 43gAn1vIRNVATDnu4U7kNK3KsPYWTMI2 =speP -----END PGP SIGNATURE-----
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 )
participants (3)
-
Andreas Jung -
Dvir Bar-lev -
Josh Burvill