Re: checkbox issue
- Posted by Chris Bensler <bensler at telus.net> Aug 22, 2001
- 373 views
> Hi George, > ----- Original Message ----- > From: "George Walters" <gwalters at sc.rr.com> > To: "EUforum" <EUforum at topica.com> > Sent: Wednesday, August 22, 2001 10:24 PM > Subject: checkbox issue > > I've found that an 'onChange()' of a checkbox does not trigger an event > > however 'onClick()' does trigger for both 'clicking' the box as well as > > 'spacebar'ing' the box. > > > > Should 'onChange()' work for the checkbox?? > > The decision to use Click rather than Change is based on the behaviour of > Visual Basic (I think). Click events tend to be mouse oriented and single > actions, and Change events tend to be keyboard oriented. I think what George is saying is, shouldn't 'spacebar' be trapped in onChange(), as it is not a mouse event? Makes sense to me.. Chris