javascript in zope

murat bilal <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <CAMRfwGtsnWY8tGV7nV6DzC5Y5b3TkBMKsQQ-FveG8+BLKPqCfQ@mail.gmail.com>
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.