[Zope] onchange events

Geir Bækholt Geir Bækholt
Thu, 12 Jun 2003 22:20:52 +0200


On  Thu, 12 Jun 2003 20:31:38 +0100 GMT (..21:31 where i live(GMT+2) )
garry saddington asked the Zope mailinglist about the following:
  
> OK i've looked at the code behind the add item in the ZMI and i am lost=
.
> If the onchange was to trigger a DTML method called "RoomBookingForm" w=
hat 
> would the code look like?
> thanks

Make sure you keep apart what happens at the server and what
happens on the client.
something like (untested):
onchange="window.location='RoomBookingForm';"
would probably work.


--
Geir Bækholt