Cheers, the add attribute worked a treat.
I must be using an older version coz I tried the setOnClick again and it
still didn't find the method
Rich
-----Original Message-----
From: Anders Samuelson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 01, 2000 10:16 AM
To: 'ECS'
Subject: RE: Mouse Events
You could try something like this:
new Input().addAttribute("onClick", "--the action to be performed--")));
Cheers,
Anders
> -----Original Message-----
> From: Richard.Johnstone [mailto:[EMAIL PROTECTED]]
> Sent: den 1 mars 2000 16:08
> To: 'ECS'
> Subject: Mouse Events
>
>
> I am having trouble attatching onClick events to an
> Input/Submit item in a
> form. I have tried the setOnClick methods but they are not
> part of this
> class.
> Any Ideas??
>
> Cheers
> Rich
>
>
> --
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]