On Saturday 01 July 2006 10:56, Andrew Martinez (RIT Student) wrote:
> You can tell if the mouse or the keyboard changed the radio button. Inspect
> which key has been pressed, if any, of if the left mouse button was
> clicked. Reference: http://www.quirksmode.org/js/events_properties.html
>
>
> In addition, instead of putting the event handler on the radio group put it
> on the individual radio buttons. I am sure this fixes all of your problems.

actually, when the onclick event is fired, it registers that it was a left 
click, and keyCode is undefined *grumble*

sometimes I hate javascript... :P

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

http://www.pirate-party.us/ -- defend your rights

Attachment: pgpfD7Rs1XBlV.pgp
Description: PGP signature

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to