W3C home > Mailing lists > Public > www-forms@w3.org > September 2003

Defining "onClick"-Events in XForms Controls

From: Roman Huditsch <roman.huditsch@hico.com>
Date: Tue, 30 Sep 2003 12:21:29 +0200
Message-ID: <0C79A363CB0321418927D0CB1AD0403C29AB6E@hicoetsrv000006.hico.local>
To: <www-forms@w3.org>
Hello everybody,

I have a very simple question:

How would I define a "onClick"-Event in an XForms control that calls a Javascript function?

Would it look like

<xforms:trigger html:onClick="javascript:test();">...

or is there a better way to maybe omitt the "html:onClick" attribute?
Thank you very much.

with best regards,

Mag.(FH) Roman Huditsch (hRHU )
Developer .:. Information & Application Engineering 
hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
TechLab, Thomas A. Edison Straße 2.
A-7000 Eisenstadt / Austria
phone: +43/2682/704-61-73; fax: +43/2682/704-71-61-10
e-mail: roman.huditsch@hico.com
mobile: +43/664/4102715

Received on Tuesday, 30 September 2003 06:21:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:08 UTC