Defining "onClick"-Events in XForms Controls

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,
Roman

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