[Zope-dev] javascript in zope

murat bilal murat.bilal at gmail.com
Fri Feb 8 08:25:00 UTC 2013


Can anybody help how to execute javascript code on DTML method like

a very simple example:

<FORM>
<INPUT TYPE="BUTTON" NAME="btnHello" VALUE="Say Hello" ONCLICK="Pressed()"
LANGUAGE="JavaScript">
</FORM>
<SCRIPT LANGUAGE="Javascript">
  function Pressed()
  {
   alert("Hello World");
  }
</SCRIPT>


When i test this code from DTML method view, it fails.

Regards

Murat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20130208/9591bb22/attachment.html>


More information about the Zope-Dev mailing list