[Zope-dev] How To Trap Event

Paul Winkler pw_lists at slinkp.com
Wed Mar 9 01:37:39 EST 2005


On Wed, Mar 09, 2005 at 06:32:57AM -0000, Arvind Sidhaye wrote:
>  ?
> Hi
> Fowwloing the code in DTML-Methode
> <INPUT TYPE=BUTTON OnClick="(CAREA(this.form))">
> But I am not able to call CAREA which Script(python)
> Please help me.

I'm not sure if I understand.  CAREA is a Script (Python)?

If so, you are confusing server-side scripts and client-side
scripts.  

Script (Python) is server-side code.

OnClick target can only be client-side script such as
Javascript.  

Maybe instead, you want to use <input type="submit">
and <form action="CAREA"> or something like that.

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope-Dev mailing list