[ZDP] Performing onClick ?

Dr. F. Tröster troester@fh-heilbronn.de
Tue, 20 Aug 2002 18:51:59 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C2487A.AD723BF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Dear Sir's
 
how can I start the object mainContent (a defined DTML method in the
root directory) by the attribute 'onClick' in the button-tag?
 
Like this?
 
<button name="Home" type="submit" value="Home" 
           onClick="<dtml-var mainContent>" Home </div></button>

It does'nt work.
 
Thank you very much
Fritz
------------------------------------------------------------------------
---
 

------=_NextPart_000_0014_01C2487A.AD723BF0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Nachricht</TITLE>

<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D764564516-20082002>Dear=20
Sir's</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D764564516-20082002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D764564516-20082002>how =
can I start the=20
object mainContent (a defined DTML method in the root directory) by the=20
attribute 'onClick' in the button-tag?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D764564516-20082002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D764564516-20082002>Like=20
this?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D764564516-20082002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;button name=3D"Home" =
type=3D"submit" value=3D"Home"=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
onClick=3D"<SPAN=20
class=3D764564516-20082002>&lt;dtml-var </SPAN>mainContent&gt;<SPAN=20
class=3D764564516-20082002>"&nbsp;</SPAN>Home<SPAN =
class=3D764564516-20082002>=20
</SPAN>&lt;/div&gt;&lt;/button&gt;<BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D764564516-20082002>It =
does'nt=20
work.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D764564516-20082002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D764564516-20082002>Thank =
you very=20
much</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D764564516-20082002>Fritz</SPAN></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
-----------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0014_01C2487A.AD723BF0--